git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add some resize event tests.
[jquery.git]
/
test
/
unit
/
event.js
diff --git
a/test/unit/event.js
b/test/unit/event.js
index
b5e24c8
..
d9dcc97
100644
(file)
--- a/
test/unit/event.js
+++ b/
test/unit/event.js
@@
-1829,6
+1829,14
@@
test("Non DOM element events", function() {
jQuery(o).trigger('nonelementobj');
});
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();
/*
test("jQuery(function($) {})", function() {
stop();