Skip to content
Permalink
Browse files
Test for #2069
  • Loading branch information
jzaefferer committed Dec 17, 2007
1 parent 90b25ef commit 70ae356e4ed1f74bb008939b345437fbe7deb26d
Showing with 8 additions and 0 deletions.
  1. +8 −0 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();
});
});

0 comments on commit 70ae356

Please sign in to comment.