mirror of
https://github.com/jquery/jquery.git
synced 2026-01-25 02:48:28 -05:00
Add some resize event tests.
This commit is contained in:
@@ -1829,6 +1829,14 @@ test("Non DOM element events", function() {
|
||||
jQuery(o).trigger('nonelementobj');
|
||||
});
|
||||
|
||||
test("window resize", function() {
|
||||
expect(1);
|
||||
|
||||
jQuery(window).bind("resize", function(){
|
||||
ok( true, "Resize event fired." );
|
||||
}).resize().unbind("resize");
|
||||
});
|
||||
|
||||
/*
|
||||
test("jQuery(function($) {})", function() {
|
||||
stop();
|
||||
|
||||
Reference in New Issue
Block a user