mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user