Commit c00a6ff1 authored by John Resig's avatar John Resig

Add some resize event tests.

parent 1dee0d2e
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment