Skip to content
Permalink
Browse files
Fix #9901, verified by this unit test.
  • Loading branch information
dmethvin committed Sep 20, 2011
1 parent 70e2e32 commit 63c9719
Showing 1 changed file with 3 additions and 1 deletion.
@@ -1527,15 +1527,17 @@ test("live with multiple events", function(){
});

test("live with namespaces", function(){
expect(12);
expect(15);

var count1 = 0, count2 = 0;

jQuery("#liveSpan1").live("foo.bar", function(e){
equals( e.namespace, "bar", "namespace is bar" );
count1++;
});

jQuery("#liveSpan1").live("foo.zed", function(e){
equals( e.namespace, "zed", "namespace is zed" );
count2++;
});

0 comments on commit 63c9719

Please sign in to comment.