mirror of
https://github.com/jquery/jquery.git
synced 2026-01-25 19:38:33 -05:00
Test for #2069
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user