diff -r 322d0feea350 -r 89ef5ed3c48b src/cm/media/js/lib/yui/yui_3.10.3/api/modules/yui-throttle.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.10.3/api/modules/yui-throttle.html Tue Jul 16 14:29:46 2013 +0200 @@ -0,0 +1,1590 @@ + + + + + yui-throttle - YUI 3 + + + + + + + + +
+
+
+ +

+ +
+
+ API Docs for: 3.10.3 +
+
+
+ +
+ +
+
+
+ Show: + + + + + + + +
+ + +
+
+
+

yui-throttle Module

+
+ + + + + + + + + +
+ + + +
+

Throttles a call to a method based on the time between calls. This method is attached +to the Y object and is documented there.

+ +
var fn = Y.throttle(function() {
+    counter++;
+});
+
+for (i; i< 35000; i++) {
+    out++;
+    fn();
+}
+
+
+ + + +
+
+ +
+ +
+ +
+
+ +
+
+
+
+
+
+ + + + + + + + + +