diff options
Diffstat (limited to 'lib/dojo/debounce.js')
-rw-r--r-- | lib/dojo/debounce.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/dojo/debounce.js b/lib/dojo/debounce.js new file mode 100644 index 000000000..414e3f0e1 --- /dev/null +++ b/lib/dojo/debounce.js @@ -0,0 +1,8 @@ +/* + Copyright (c) 2004-2016, The JS Foundation All Rights Reserved. + Available via Academic Free License >= 2.1 OR the modified BSD license. + see: http://dojotoolkit.org/license for details +*/ + +//>>built +define("dojo/debounce",[],function(){return function(cb,_1){var _2;return function(){if(_2){clearTimeout(_2);}var _3=this;var a=arguments;_2=setTimeout(function(){cb.apply(_3,a);},_1);};};});
\ No newline at end of file |