summaryrefslogtreecommitdiffstats
path: root/js/yui3/event-resize/event-resize-min.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/yui3/event-resize/event-resize-min.js')
-rw-r--r--js/yui3/event-resize/event-resize-min.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/yui3/event-resize/event-resize-min.js b/js/yui3/event-resize/event-resize-min.js
new file mode 100644
index 000000000..d8a9fa45c
--- /dev/null
+++ b/js/yui3/event-resize/event-resize-min.js
@@ -0,0 +1,8 @@
+/*
+YUI 3.17.2 (build 9c3c78e)
+Copyright 2014 Yahoo! Inc. All rights reserved.
+Licensed under the BSD License.
+http://yuilibrary.com/license/
+*/
+
+YUI.add("event-resize",function(e,t){e.Event.define("windowresize",{on:e.UA.gecko&&e.UA.gecko<1.91?function(t,n,r){n._handle=e.Event.attach("resize",function(e){r.fire(e)})}:function(t,n,r){var i=e.config.windowResizeDelay||100;n._handle=e.Event.attach("resize",function(t){n._timer&&n._timer.cancel(),n._timer=e.later(i,e,function(){r.fire(t)})})},detach:function(e,t){t._timer&&t._timer.cancel(),t._handle.detach()}})},"3.17.2",{requires:["node-base","event-synthetic"]});