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:
90b25ef
)
Test for #2069
author
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Mon, 17 Dec 2007 17:39:50 +0000
(17:39 +0000)
committer
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Mon, 17 Dec 2007 17:39:50 +0000
(17:39 +0000)
test/unit/event.js
patch
|
blob
|
history
diff --git
a/test/unit/event.js
b/test/unit/event.js
index
73ce17c
..
6104481
100644
(file)
--- a/
test/unit/event.js
+++ b/
test/unit/event.js
@@
-263,3
+263,11
@@
test("toggle(Function, Function)", function() {
return false;
}).click().click().click();
});
+
+test("jQuery(function($) {})", function() {
+ stop();
+ jQuery(function($) {
+ equals(jQuery, $, "ready doesn't provide an event object, instead it provides a reference to the jQuery function, see http://docs.jquery.com/Events/ready#fn");
+ start();
+ });
+});
\ No newline at end of file