Skip to content

Commit

Permalink
Test for jquery#2069
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaefferer committed Dec 17, 2007
1 parent 90b25ef commit 70ae356
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/unit/event.js
Expand Up @@ -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.