File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 3333 "json-loader" : " ~0.5.1" ,
3434 "jade-loader" : " ~0.6.1" ,
3535 "coffee-loader" : " ~0.7.1" ,
36- "css-loader" : " ~0.7.1 " ,
36+ "css-loader" : " ~0.9.0 " ,
3737 "less-loader" : " ~0.7.0" ,
38- "style-loader" : " ~0.7.1 " ,
38+ "style-loader" : " ~0.8.0 " ,
3939 "script-loader" : " ~0.6.0" ,
4040 "bundle-loader" : " ~0.5.0" ,
4141 "file-loader" : " ~0.7.2" ,
Original file line number Diff line number Diff line change 11it ( "should handle the css loader correctly" , function ( ) {
2- require ( "!css!../_css/stylesheet.css" ) . indexOf ( ".rule-direct" ) . should . not . be . eql ( - 1 ) ;
3- require ( "!css!../_css/stylesheet.css" ) . indexOf ( ".rule-import1" ) . should . not . be . eql ( - 1 ) ;
4- require ( "!css!../_css/stylesheet.css" ) . indexOf ( ".rule-import2" ) . should . not . be . eql ( - 1 ) ;
2+ ( require ( "!css!../_css/stylesheet.css" ) + " ") . indexOf ( ".rule-direct" ) . should . not . be . eql ( - 1 ) ;
3+ ( require ( "!css!../_css/stylesheet.css" ) + " ") . indexOf ( ".rule-import1" ) . should . not . be . eql ( - 1 ) ;
4+ ( require ( "!css!../_css/stylesheet.css" ) + " ") . indexOf ( ".rule-import2" ) . should . not . be . eql ( - 1 ) ;
55} ) ;
Original file line number Diff line number Diff line change 11it ( "should handle the val loader (piped with css loader) correctly" , function ( ) {
2- require ( "!css!val!../_css/generateCss" ) . indexOf ( "generated" ) . should . not . be . eql ( - 1 ) ;
3- require ( "!css!val!../_css/generateCss" ) . indexOf ( ".rule-import2" ) . should . not . be . eql ( - 1 ) ;
4- require ( "!raw!val!../_css/generateCss" ) . indexOf ( "generated" ) . should . not . be . eql ( - 1 ) ;
2+ ( require ( "!css!val!../_css/generateCss" ) + " ") . indexOf ( "generated" ) . should . not . be . eql ( - 1 ) ;
3+ ( require ( "!css!val!../_css/generateCss" ) + " ") . indexOf ( ".rule-import2" ) . should . not . be . eql ( - 1 ) ;
4+ ( require ( "!raw!val!../_css/generateCss" ) + " ") . indexOf ( "generated" ) . should . not . be . eql ( - 1 ) ;
55} ) ;
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ it("should load a utf-8 file with BOM", function() {
44} ) ;
55
66it ( "should load a css file with BOM" , function ( ) {
7- var css = require ( "!css-loader!./bomfile.css" ) ;
7+ var css = require ( "!css-loader!./bomfile.css" ) + "" ;
88 css . should . be . eql ( "body{color:#abc}" ) ;
99} ) ;
You can’t perform that action at this time.
0 commit comments