Skip to content
Permalink
Browse files
Re-wrote context Ajax test to use an element instead of an object (a …
…more realistic test and works with the new jQuery.extend logic for cloning object literals).
  • Loading branch information
jeresig committed Nov 17, 2009
1 parent b33f37c commit c084745
Showing 1 changed file with 1 addition and 1 deletion.
@@ -74,7 +74,7 @@ test("Ajax events with context", function() {
expect(6);

stop();
var context = {};
var context = document.createElement("div");

function event(e){
equals( this, context, e.type );

0 comments on commit c084745

Please sign in to comment.