File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ function generatePreset(opts) {
6
6
opts = opts || { } ;
7
7
8
8
return function ( css ) {
9
- css . eachAtRule ( function ( atRule ) {
9
+ css . walkAtRules ( function ( atRule ) {
10
10
if ( atRule . name !== 'generate-preset' ) {
11
11
return ;
12
12
}
@@ -58,7 +58,7 @@ function generatePreset(opts) {
58
58
root . insertBefore ( atRule , rule ) ;
59
59
} ) ;
60
60
61
- atRule . removeSelf ( ) ;
61
+ atRule . remove ( ) ;
62
62
} ) ;
63
63
} ;
64
64
}
Original file line number Diff line number Diff line change 10
10
"url" : " https://github.com/simonsmith/postcss-generate-preset.git"
11
11
},
12
12
"dependencies" : {
13
- "postcss" : " ^4.1.5 "
13
+ "postcss" : " ^5.0.13 "
14
14
},
15
15
"devDependencies" : {
16
- "gulp-eslint" : " 0.9.0 " ,
17
- "gulp-mocha" : " 2.0.1 " ,
18
- "chai" : " 2.2.0 " ,
19
- "gulp" : " 3.8.11 "
16
+ "gulp-eslint" : " 1.1.1 " ,
17
+ "gulp-mocha" : " 2.2.0 " ,
18
+ "chai" : " 3.4.1 " ,
19
+ "gulp" : " 3.9.0 "
20
20
},
21
21
"scripts" : {
22
22
"test" : " gulp"
You can’t perform that action at this time.
0 commit comments