Changeset 4251 for trunk/jquery/test
- Timestamp:
- 12/20/07 13:36:56 (1 year ago)
- Files:
-
- 1 modified
-
trunk/jquery/test/unit/event.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jquery/test/unit/event.js
r4246 r4251 2 2 3 3 test("bind()", function() { 4 expect(1 8);4 expect(19); 5 5 6 6 var handler = function(event) { … … 86 86 equals(this.nodeType, 1, "Check node,textnode,comment bind just does real nodes" ); 87 87 }).trigger("tester"); 88 89 // Make sure events stick with appendTo'd elements (which are cloned) #2027 90 $("<a href='#fail' class='test'>test</a>").click(function(){ return false; }).appendTo("p"); 91 ok( $("a.test:first").triggerHandler("click") === false, "Handler is bound to appendTo'd elements" ); 92 reset(); 88 93 }); 89 94
