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).

This commit is contained in:
John Resig 2009-11-17 14:36:10 -05:00
parent b33f37c22c
commit c08474580c

View file

@ -74,7 +74,7 @@ test("Ajax events with context", function() {
expect(6); expect(6);
stop(); stop();
var context = {}; var context = document.createElement("div");
function event(e){ function event(e){
equals( this, context, e.type ); equals( this, context, e.type );