aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/queue.js
diff options
context:
space:
mode:
authorlouisremi <louisremi@louisremi-laptop.(none)>2011-04-12 10:47:46 +0200
committerlouisremi <louisremi@louisremi-laptop.(none)>2011-04-12 10:47:46 +0200
commitf42010b6574af9e57b3782eced61a7d955bf06d6 (patch)
tree8ed53591c8811f0a14feeb6361c5d3b12f561096 /test/unit/queue.js
parent11adde5127ec496cf692237ea0d4f6217eac97b8 (diff)
downloadjquery-f42010b6574af9e57b3782eced61a7d955bf06d6.tar.gz
jquery-f42010b6574af9e57b3782eced61a7d955bf06d6.zip
third batch
Diffstat (limited to 'test/unit/queue.js')
-rw-r--r--test/unit/queue.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/test/unit/queue.js b/test/unit/queue.js
index 31e587db2..34f61f826 100644
--- a/test/unit/queue.js
+++ b/test/unit/queue.js
@@ -7,32 +7,32 @@ test("queue() with other types",function() {
var $div = jQuery({});
$div
- .queue('foo',function(){
+ .queue("foo",function(){
equals( ++counter, 1, "Dequeuing" );
- jQuery.dequeue(this,'foo');
+ jQuery.dequeue(this,"foo");
})
- .queue('foo',function(){
+ .queue("foo",function(){
equals( ++counter, 2, "Dequeuing" );
- jQuery(this).dequeue('foo');
+ jQuery(this).dequeue("foo");
})
- .queue('foo',function(){
+ .queue("foo",function(){
equals( ++counter, 3, "Dequeuing" );
})
- .queue('foo',function(){
+ .queue("foo",function(){
equals( ++counter, 4, "Dequeuing" );
});
- equals( $div.queue('foo').length, 4, "Testing queue length" );
+ equals( $div.queue("foo").length, 4, "Testing queue length" );
- $div.dequeue('foo');
+ $div.dequeue("foo");
equals( counter, 3, "Testing previous call to dequeue" );
- equals( $div.queue('foo').length, 1, "Testing queue length" );
+ equals( $div.queue("foo").length, 1, "Testing queue length" );
- $div.dequeue('foo');
+ $div.dequeue("foo");
equals( counter, 4, "Testing previous call to dequeue" );
- equals( $div.queue('foo').length, 0, "Testing queue length" );
+ equals( $div.queue("foo").length, 0, "Testing queue length" );
});
test("queue(name) passes in the next item in the queue as a parameter", function() {