File tree Expand file tree Collapse file tree 2 files changed +4
-14
lines changed
Expand file tree Collapse file tree 2 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 88 < script src ="../../../tests/jquery.testHelper.js "> </ script >
99 < script src ="../../../external/qunit.js "> </ script >
1010 < script src ="../../../external/requirejs/require.js "> </ script >
11- < script >
12- $ . testHelper . asyncLoad ( [
13- [
14- "jquery.mobile.core" ,
15- ] ,
16- [ "jquery.mobile.init" ] ,
17- [ "init_dialog.js" ]
18- ] ) ;
19- </ script >
20-
11+ < script type ="text/javascript " src ="../../../js/ "> </ script >
12+ < script type ="text/javascript " src ="init_dialog.js "> </ script >
2113 < link rel ="stylesheet " href ="../../../css/themes/default/jquery.mobile.css "/>
2214 < link rel ="stylesheet " href ="../../../external/qunit.css "/>
2315
Original file line number Diff line number Diff line change 55 module ( "jquery.mobile.init dialog load tests" ) ;
66
77 // issue #3275
8- test ( "A document containing no pages and a dialog role div will enhance the div as a page" , function ( ) {
9- ok ( $ ( "#foo" ) . hasClass ( "ui-page" ) , "the div has the page class" ) ;
10-
8+ test ( "A document containing no pages and a dialog role div will enhance the div as a dialog" , function ( ) {
119 // NOTE this will fail when/if we decide to render it as a dialog
12- ok ( ! $ ( "#foo" ) . hasClass ( "ui-dialog" ) , "the div does NOT have the dialog page class" ) ;
10+ ok ( $ ( "#foo" ) . hasClass ( "ui-dialog" ) , "the div does NOT have the dialog page class" ) ;
1311 } ) ;
1412
1513 //NOTE the opposite case is tested everyewhere else in the suite :D
You can’t perform that action at this time.
0 commit comments