Firefox stalls without longer delays.

Not really happy with this, but perhaps Jenkins will be.
This commit is contained in:
Dave Methvin 2012-02-23 23:22:04 -05:00
parent dec2804c78
commit 52816619a9

View File

@ -145,7 +145,7 @@ test("delay() can be stopped", function() {
ok( true, "This first function was dequeued" );
next();
})
.delay( 100, "alternate" )
.delay( 1000, "alternate" )
.queue( "alternate", function() {
run++;
ok( true, "The function was dequeued immediately, the delay was stopped" );
@ -156,7 +156,7 @@ test("delay() can be stopped", function() {
.stop( "alternate", false, false )
// this test
.delay( 100 )
.delay( 1000 )
.queue(function() {
run++;
ok( false, "This queue should never run" );
@ -167,7 +167,7 @@ test("delay() can be stopped", function() {
equal( run, 2, "Queue ran the proper functions" );
setTimeout( start, 200 );
setTimeout( start, 2000 );
});