Changeset 5502
- Timestamp:
- 05/08/08 16:25:12 (5 days ago)
- Files:
-
- 1 modified
-
trunk/jquery/test/unit/event.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jquery/test/unit/event.js
r5472 r5502 113 113 }); 114 114 115 test(" click()", function() {116 expect( 5);115 test("trigger() shortcuts", function() { 116 expect(6); 117 117 $('<li><a href="#">Change location</a></li>').prependTo('#firstUL').find('a').bind('click', function() { 118 118 var close = $('spanx', this); // same with $(this).find('span'); … … 139 139 $('#simon1').click(); 140 140 equals( clickCounter, 1, "Check that click, triggers onclick event handler on an a tag also" ); 141 142 $('<img />').load(function(){ 143 ok( true, "Trigger the load event, using the shortcut .load() (#2819)"); 144 }).load(); 141 145 }); 142 146