Commit c0847458 authored by John Resig's avatar John Resig

Re-wrote context Ajax test to use an element instead of an object (a more...

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).
parent b33f37c2
...@@ -74,7 +74,7 @@ test("Ajax events with context", function() { ...@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment