whitespace in navigation core tests and fixtures page

This commit is contained in:
John Bender 2011-03-31 22:18:37 -07:00
parent 198cb1420d
commit 89775d233a
2 changed files with 5 additions and 20 deletions

View file

@ -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>

View file

@ -10,13 +10,6 @@
} }
}); });
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;
$.mobile.changePage = function(){ $.mobile.changePage = function(){
@ -354,7 +347,6 @@
}], 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(){
@ -380,7 +372,6 @@
},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(){
@ -388,8 +379,5 @@
start(); start();
},500); },500);
}); });
})(jQuery); })(jQuery);