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 c08474580caa44d2b5f32be54c0d884832bbd1c3
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/unit/ajax.js
@@ -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.
You can’t perform that action at this time.