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 63c9719330668f0165da1390e3aa53d4011aa0c2
Showing with 3 additions and 1 deletion.
  1. +3 −1 test/unit/event.js
@@ -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.
You can’t perform that action at this time.