git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b33f37c
)
Re-wrote context Ajax test to use an element instead of an object (a more realistic...
author
John Resig
<jeresig@gmail.com>
Tue, 17 Nov 2009 19:36:10 +0000
(14:36 -0500)
committer
John Resig
<jeresig@gmail.com>
Tue, 17 Nov 2009 19:36:10 +0000
(14:36 -0500)
test/unit/ajax.js
patch
|
blob
|
history
diff --git
a/test/unit/ajax.js
b/test/unit/ajax.js
index
1fcf5ea
..
75ef26c
100644
(file)
--- a/
test/unit/ajax.js
+++ b/
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 );