mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Add some resize event tests.
This commit is contained in:
parent
1dee0d2ed8
commit
c00a6ff1f1
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user