mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-17 06:20:26 +00:00
fixed array comparison tests to test single element
This commit is contained in:
parent
143fd264d2
commit
0ed68525ed
1 changed files with 3 additions and 3 deletions
|
|
@ -119,8 +119,8 @@
|
|||
$.testHelper.reloadLib(libName);
|
||||
var firstPage = findFirstPage();
|
||||
|
||||
same($.mobile.firstPage, firstPage);
|
||||
same($.mobile.activePage, firstPage);
|
||||
same($.mobile.firstPage[0], firstPage[0]);
|
||||
same($.mobile.activePage[0], firstPage[0]);
|
||||
});
|
||||
|
||||
test( "mobile viewport class is defined on the first page's parent", function(){
|
||||
|
|
@ -136,7 +136,7 @@
|
|||
$.testHelper.reloadLib(libName);
|
||||
var firstPage = findFirstPage();
|
||||
|
||||
same($.mobile.pageContainer, firstPage.parent());
|
||||
same($.mobile.pageContainer[0], firstPage.parent()[0]);
|
||||
});
|
||||
|
||||
test( "page loading is called on document ready", function(){
|
||||
|
|
|
|||
Loading…
Reference in a new issue