mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-10 01:11:02 +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 data-nstest-title="Title Attr 1" data-nstest-role="page">
|
||||
<a href="title1.html" id="titletest1" 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="header"><h1>Title Heading</h1></div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -9,13 +9,6 @@
|
|||
location.hash = "";
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
test( "forms with data attribute ajax set to false will not call changePage", function(){
|
||||
var called = false;
|
||||
|
|
@ -353,8 +346,7 @@
|
|||
start();
|
||||
}], 1000);
|
||||
});
|
||||
|
||||
|
||||
|
||||
asyncTest( "Page title updates properly from title tag when loading an external page", function(){
|
||||
$("#titletest1").click();
|
||||
setTimeout(function(){
|
||||
|
|
@ -362,7 +354,7 @@
|
|||
start();
|
||||
},500);
|
||||
});
|
||||
|
||||
|
||||
asyncTest( "Page title updates properly when clicking back to previous page", function(){
|
||||
$.testHelper.openPage("#relative-after-embeded-page-first");
|
||||
window.history.back();
|
||||
|
|
@ -371,7 +363,7 @@
|
|||
start();
|
||||
},500);
|
||||
});
|
||||
|
||||
|
||||
asyncTest( "Page title updates properly from data-title attr when loading an external page", function(){
|
||||
$("#titletest2").click();
|
||||
setTimeout(function(){
|
||||
|
|
@ -379,17 +371,13 @@
|
|||
start();
|
||||
},500);
|
||||
});
|
||||
|
||||
|
||||
|
||||
asyncTest( "Page title updates properly from heading text in header when loading an external page", function(){
|
||||
$("#titletest3").click();
|
||||
setTimeout(function(){
|
||||
same(document.title, "Title Heading");
|
||||
same(document.title, "Title Heading");
|
||||
start();
|
||||
},500);
|
||||
});
|
||||
|
||||
|
||||
|
||||
})(jQuery);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue