File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,11 @@ <h1>CSS plugin build test</h1>
15
15
< script language ="JavaScript " type ="text/javascript ">
16
16
var ready = false ; // set to true when the test page is ready
17
17
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
+ }
19
23
} , [
20
24
"app" // first load the layer
21
25
] , function ( ) {
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ define([
23
23
. findById ( "result" ) . getComputedStyle ( "borderLeftStyle" ) . then ( function ( style ) {
24
24
assert . strictEqual ( style , "dashed" ) ;
25
25
} ) . 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 ) [ " ' ] ? \) ? ; ? $ / ) ;
27
27
assert . strictEqual ( match [ 1 ] , "build/resources/test.png" ) ;
28
28
} ) ;
29
29
}
You can’t perform that action at this time.
0 commit comments