mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-25 14:33:43 +00:00
whitespace in navigation core tests and fixtures page
This commit is contained in:
parent
198cb1420d
commit
89775d233a
2 changed files with 5 additions and 20 deletions
|
|
@ -159,7 +159,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div data-nstest-title="Title Attr 1" data-nstest-role="page">
|
<div data-nstest-title="Title Attr 1" data-nstest-role="page">
|
||||||
<a href="title1.html" id="titletest1" data-nstest-transition="none">test</a>
|
<a href="title1.html" id="titletest1" data-nstest-transition="none">test</a>
|
||||||
<a href="title2.html" id="titletest2" data-nstest-transition="none">test</a>
|
<a href="title2.html" id="titletest2" data-nstest-transition="none">test</a>
|
||||||
|
|
@ -173,7 +172,5 @@
|
||||||
<div data-nstest-role="page" id="titletest5" data-nstest-title="Title Attr">
|
<div data-nstest-role="page" id="titletest5" data-nstest-title="Title Attr">
|
||||||
<div data-nstest-role="header"><h1>Title Heading</h1></div>
|
<div data-nstest-role="header"><h1>Title Heading</h1></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -9,13 +9,6 @@
|
||||||
location.hash = "";
|
location.hash = "";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
test( "forms with data attribute ajax set to false will not call changePage", function(){
|
test( "forms with data attribute ajax set to false will not call changePage", function(){
|
||||||
var called = false;
|
var called = false;
|
||||||
|
|
@ -353,8 +346,7 @@
|
||||||
start();
|
start();
|
||||||
}], 1000);
|
}], 1000);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
asyncTest( "Page title updates properly from title tag when loading an external page", function(){
|
asyncTest( "Page title updates properly from title tag when loading an external page", function(){
|
||||||
$("#titletest1").click();
|
$("#titletest1").click();
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
|
|
@ -362,7 +354,7 @@
|
||||||
start();
|
start();
|
||||||
},500);
|
},500);
|
||||||
});
|
});
|
||||||
|
|
||||||
asyncTest( "Page title updates properly when clicking back to previous page", function(){
|
asyncTest( "Page title updates properly when clicking back to previous page", function(){
|
||||||
$.testHelper.openPage("#relative-after-embeded-page-first");
|
$.testHelper.openPage("#relative-after-embeded-page-first");
|
||||||
window.history.back();
|
window.history.back();
|
||||||
|
|
@ -371,7 +363,7 @@
|
||||||
start();
|
start();
|
||||||
},500);
|
},500);
|
||||||
});
|
});
|
||||||
|
|
||||||
asyncTest( "Page title updates properly from data-title attr when loading an external page", function(){
|
asyncTest( "Page title updates properly from data-title attr when loading an external page", function(){
|
||||||
$("#titletest2").click();
|
$("#titletest2").click();
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
|
|
@ -379,17 +371,13 @@
|
||||||
start();
|
start();
|
||||||
},500);
|
},500);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
asyncTest( "Page title updates properly from heading text in header when loading an external page", function(){
|
asyncTest( "Page title updates properly from heading text in header when loading an external page", function(){
|
||||||
$("#titletest3").click();
|
$("#titletest3").click();
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
same(document.title, "Title Heading");
|
same(document.title, "Title Heading");
|
||||||
start();
|
start();
|
||||||
},500);
|
},500);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue