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:
parent
b33f37c22c
commit
c08474580c
|
@ -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 );
|
||||||
|
|
Loading…
Reference in a new issue