File tree Expand file tree Collapse file tree 4 files changed +221
-203
lines changed
Expand file tree Collapse file tree 4 files changed +221
-203
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4646 return result ;
4747 } ;
4848 } ,
49-
49+
5050 hideActivePageWhenComplete : function ( ) {
5151 if ( $ ( '#qunit-testresult' ) . length > 0 ) {
5252 $ ( '.ui-page-active' ) . css ( 'display' , 'none' ) ;
53- //location.href = location.href.split('#')[0];
5453 } else {
5554 setTimeout ( $ . testHelper . hideActivePageWhenComplete , 500 ) ;
5655 }
Original file line number Diff line number Diff line change 1010 < link rel ="stylesheet " href ="../../../external/qunit.css " type ="text/css "/>
1111 < script type ="text/javascript " src ="../../../external/qunit.js "> </ script >
1212
13- < script type ="text/javascript " src ="listview_integration .js "> </ script >
13+ < script type ="text/javascript " src ="listview_core .js "> </ script >
1414</ head >
1515< body >
1616
@@ -20,6 +20,19 @@ <h2 id="qunit-userAgent"></h2>
2020< ol id ="qunit-tests ">
2121</ ol >
2222
23+ < style >
24+ [data-role = 'page' ] {
25+ position : absolute;
26+ top : -10000px ;
27+ left : -10000px ;
28+ }
29+
30+ /* maintain styling */
31+ .ui-mobile-viewport {
32+ margin : 8px ;
33+ }
34+ </ style >
35+
2336<!-- Basic Linked view test -->
2437< div data-role ="page " id ='basic-linked-test '>
2538 < div data-role ="header " data-position ="inline ">
@@ -108,15 +121,15 @@ <h1>Split List View</h1>
108121 < ul data-role ="listview ">
109122 < li >
110123 < a href ="#split-list-link1 "> link one</ a >
111- < a href ="#split-list-link2 "> link second</ a >
124+ < a href ="#split-list-link2 "> link second</ a >
112125 </ li >
113126 < li >
114127 < a href ="#split-list-link1 "> link one</ a >
115- < a href ="#split-list-link2 "> link second</ a >
128+ < a href ="#split-list-link2 "> link second</ a >
116129 </ li >
117130 < li >
118131 < a href ="#split-list-link1 "> link one</ a >
119- < a href ="#split-list-link2 "> link second</ a >
132+ < a href ="#split-list-link2 "> link second</ a >
120133 </ li >
121134 </ ul >
122135 </ div >
You can’t perform that action at this time.
0 commit comments