Skip to content
This repository was archived by the owner on Mar 28, 2019. It is now read-only.

Commit 52af192

Browse files
committed
Rewrite in ES2015
1 parent 8c21a11 commit 52af192

14 files changed

+1282
-1839
lines changed

.babelrc

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"presets": [["env", {
3+
"targets": {
4+
"node": 4
5+
}
6+
}]],
7+
"plugins": ["add-module-exports"],
8+
"env": {
9+
"development": {
10+
"sourceMaps": "inline"
11+
},
12+
"test": {
13+
"plugins": ["istanbul"]
14+
}
15+
}
16+
}

.gitignore

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
node_modules/
2-
npm-debug.log
1+
node_modules/
2+
npm-debug.log
3+
dist

.travis.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
sudo: false
2-
language: node_js
3-
node_js:
4-
- iojs
5-
- "0.12"
6-
- "0.10"
1+
language: node_js
2+
3+
node_js:
4+
- '6'
5+
- '4'
6+
7+
matrix:
8+
fast_finish: true

CHANGELOG.md

+46-41
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,46 @@
1-
#2.1.0 - 2016-12-21
2-
* Add support for double-quoted strings [#16](https://github.com/andyjansson/postcss-conditionals/issues/16).
3-
4-
#2.0.3 - 2016-11-10
5-
* Fix string token to include dots, enabling use of class names (among other
6-
things) in expressions
7-
8-
#2.0.2 - 2016-03-02
9-
* Fix parsing of strings with escape character used for escaping characters
10-
other than single quotes [#12](https://github.com/andyjansson/postcss-conditionals/issues/12)
11-
12-
#2.0.1 - 2016-01-20
13-
* Allow for quoted empty strings
14-
15-
#2.0.0 - 2015-09-01
16-
* Update to PostCSS v5.
17-
18-
#1.4.0 - 2015-09-01
19-
* Fix value type being incorrectly transformed for certain unit types.
20-
* Expand mixed-type operations to include things such as comparisons of
21-
differently typed values.
22-
23-
#1.3.1 - 2015-08-24
24-
* Fix `@else` incorrectly being invoked when any statement other than the one
25-
directly preceding the `@else` is true.
26-
27-
#1.3.0 - 2015-08-19
28-
* Add support for nested if statements
29-
* Add boolean data type
30-
31-
#1.2.0 - 2015-05-27
32-
* Add transformations and comparisons of color values
33-
34-
#1.1.2 - 2015-05-26
35-
* Fix parsing of negative values [#2](https://github.com/andyjansson/postcss-conditionals/issues/2)
36-
37-
# 1.1.1 - 2015-05-18
38-
* Add arithmetics for CSS units
39-
40-
# 1.0.0 - 2015-05-05
41-
* Initial release
1+
# 3.0.0 - Unreleased
2+
* Update dependencies to latest version.
3+
* Rewrite in ES2015 (transpiled with babel).
4+
* Rewrite tests in AVA.
5+
6+
# 2.1.0 - 2016-12-21
7+
* Add support for double-quoted strings [#16](https://github.com/andyjansson/postcss-conditionals/issues/16).
8+
9+
# 2.0.3 - 2016-11-10
10+
* Fix string token to include dots, enabling use of class names (among other
11+
things) in expressions
12+
13+
# 2.0.2 - 2016-03-02
14+
* Fix parsing of strings with escape character used for escaping characters
15+
other than single quotes [#12](https://github.com/andyjansson/postcss-conditionals/issues/12)
16+
17+
# 2.0.1 - 2016-01-20
18+
* Allow for quoted empty strings
19+
20+
# 2.0.0 - 2015-09-01
21+
* Update to PostCSS v5.
22+
23+
# 1.4.0 - 2015-09-01
24+
* Fix value type being incorrectly transformed for certain unit types.
25+
* Expand mixed-type operations to include things such as comparisons of
26+
differently typed values.
27+
28+
# 1.3.1 - 2015-08-24
29+
* Fix `@else` incorrectly being invoked when any statement other than the one
30+
directly preceding the `@else` is true.
31+
32+
# 1.3.0 - 2015-08-19
33+
* Add support for nested if statements
34+
* Add boolean data type
35+
36+
# 1.2.0 - 2015-05-27
37+
* Add transformations and comparisons of color values
38+
39+
# 1.1.2 - 2015-05-26
40+
* Fix parsing of negative values [#2](https://github.com/andyjansson/postcss-conditionals/issues/2)
41+
42+
# 1.1.1 - 2015-05-18
43+
* Add arithmetics for CSS units
44+
45+
# 1.0.0 - 2015-05-05
46+
* Initial release

index.js

-257
This file was deleted.

0 commit comments

Comments
 (0)