mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-11 16:13:11 +00:00
Merge branch 'master' of https://github.com/jquery/jquery-mobile
This commit is contained in:
commit
004860c209
3 changed files with 5 additions and 5 deletions
|
|
@ -254,6 +254,7 @@
|
|||
else{
|
||||
// defer execution for consistency between webkit/non webkit
|
||||
setTimeout(callback, 0);
|
||||
return $(this);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
"swipe swipeleft swiperight scrollstart scrollstop").split( " " );
|
||||
|
||||
module(libName, {
|
||||
teardown: function(){
|
||||
setup: function(){
|
||||
|
||||
// ensure bindings are removed
|
||||
$.each(events, function(i, name){
|
||||
|
|
@ -247,7 +247,6 @@
|
|||
|
||||
$($.event.special.swipe).bind('swipe', function(){
|
||||
swipe = true;
|
||||
start();
|
||||
});
|
||||
|
||||
//NOTE bypass the trigger source check
|
||||
|
|
@ -270,7 +269,7 @@
|
|||
same(swipe, opts.expected, "swipe expected");
|
||||
|
||||
//NOTE the start in the event closure won't be fired, fire it here
|
||||
if(!opts.expected) { start(); }
|
||||
start();
|
||||
}, opts.timeout + 10);
|
||||
|
||||
stop();
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
});
|
||||
|
||||
asyncTest( "Slides back to main page when back button is clicked", function() {
|
||||
$.testHelper.openPage("#basic-linked-results");
|
||||
$.testHelper.openPage("#basic-link-results");
|
||||
|
||||
$('#basic-link-results a:contains("Back")').click();
|
||||
setTimeout(function() {
|
||||
|
|
@ -227,7 +227,7 @@
|
|||
}, 500);
|
||||
|
||||
setTimeout(function() {
|
||||
same($searchPage.find('li[style^="display: none;"]').length, 0);
|
||||
same($searchPage.find("li[style^='display: none;']").length, 0);
|
||||
start();
|
||||
}, 1000);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue