diff -r d334a616c023 -r e16a97fb364a src/cm/media/js/lib/yui/yui3-3.15.0/build/yui-throttle/yui-throttle-min.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui3-3.15.0/build/yui-throttle/yui-throttle-min.js Mon Mar 10 15:19:48 2014 +0100 @@ -0,0 +1,3 @@ +YUI.add("yui-throttle",function(e,t){ +/*! Based on work by Simon Willison: http://gist.github.com/292562 */ +;e.throttle=function(t,n){n=n?n:e.config.throttleTime||150;if(n===-1)return function(){t.apply(this,arguments)};var r=e.Lang.now();return function(){var i=e.Lang.now();i-r>n&&(r=i,t.apply(this,arguments))}}},"@VERSION@",{requires:["yui-base"]});