File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,11 @@ <h1>CSS plugin build test</h1>
1515< script language ="JavaScript " type ="text/javascript ">
1616 var ready = false ; // set to true when the test page is ready
1717 require ( {
18- baseUrl : "build"
18+ baseUrl : "build" ,
19+ paths : {
20+ // Needed for browser which does not support Promise natively.
21+ lie : "../bower_components/lie"
22+ }
1923 } , [
2024 "app" // first load the layer
2125 ] , function ( ) {
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ define([
2323 . findById ( "result" ) . getComputedStyle ( "borderLeftStyle" ) . then ( function ( style ) {
2424 assert . strictEqual ( style , "dashed" ) ;
2525 } ) . getComputedStyle ( "backgroundImage" ) . then ( function ( style ) {
26- var match = style . match ( / ( b u i l d \/ r e s o u r c e s \/ t e s t \. p n g ) \) ? ; ? $ / ) ;
26+ var match = style . match ( / ( b u i l d \/ r e s o u r c e s \/ t e s t \. p n g ) [ " ' ] ? \) ? ; ? $ / ) ;
2727 assert . strictEqual ( match [ 1 ] , "build/resources/test.png" ) ;
2828 } ) ;
2929 }
You can’t perform that action at this time.
0 commit comments