File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " grunt-csscomb" ,
33 "description" : " The grunt plugin for sorting CSS properties in specific order." ,
4- "version" : " 2 .0.1" ,
4+ "version" : " 3 .0.0- 1" ,
55 "homepage" : " https://github.com/csscomb/grunt-csscomb" ,
66 "author" : [
77 {
4343 "test" : " grunt test"
4444 },
4545 "dependencies" : {
46- "csscomb" : " ~2 .0.0"
46+ "csscomb" : " ~3 .0.0"
4747 },
4848 "devDependencies" : {
49- "grunt-contrib-jshint " : " ~0.6.0 " ,
50- "grunt-contrib-clean" : " ~ 0.4.0" ,
51- "grunt-contrib-nodeunit " : " ~0.2 .0" ,
52- "grunt" : " ~ 0.4.2 "
49+ "grunt" : " ^0.4.5 " ,
50+ "grunt-contrib-clean" : " ^ 0.4.0" ,
51+ "grunt-contrib-jshint " : " ^0.10 .0" ,
52+ "grunt-contrib-nodeunit " : " ^ 0.4.0 "
5353 },
5454 "peerDependencies" : {
55- "grunt" : " ~ 0.4.2 "
55+ "grunt" : " ^ 0.4.5 "
5656 },
5757 "keywords" : [
5858 " gruntplugin" ,
6161 " SCSS" ,
6262 " LESS"
6363 ]
64- }
64+ }
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ module.exports = function (grunt) {
5454 config = grunt . file . readJSON ( config ) ;
5555 } else {
5656 grunt . log . ok ( 'Using default config file...' ) ;
57- config = comb . getConfig ( 'csscomb' ) ;
57+ config = Comb . getConfig ( 'csscomb' ) ;
5858 }
5959
6060 // Configure csscomb:
@@ -78,7 +78,7 @@ module.exports = function (grunt) {
7878 // Comb it:
7979 grunt . log . ok ( 'Sorting file "' + src + '"...' ) ;
8080 var syntax = src . split ( '.' ) . pop ( ) ;
81- var combed = comb . processString ( css , syntax ) ;
81+ var combed = comb . processString ( css , { syntax : syntax } ) ;
8282 grunt . file . write ( f . dest , combed ) ;
8383 } ) ;
8484 } ) ;
You can’t perform that action at this time.
0 commit comments