diff options
author | Anders Kaseorg <[email protected]> | 2017-01-20 12:29:59 -0500 |
---|---|---|
committer | Anders Kaseorg <[email protected]> | 2017-01-21 13:22:14 -0500 |
commit | 6887a0f57307820b097b51aee952c555bcf69024 (patch) | |
tree | ff041c03ac0251468eb4308927052f8bd6071ca3 /lib/dojo/throttle.js | |
parent | 9f539be3c2c93ce358b10ca396e922b3b99b56ea (diff) |
lib: Upgrade Dojo and Dijit from 1.8.3 to 1.12.1
The itemNode and expandoNode elements have changed from img to
span (https://bugs.dojotoolkit.org/ticket/16699), so we now put our
tree icons inside them rather than replacing them.
Signed-off-by: Anders Kaseorg <[email protected]>
Diffstat (limited to 'lib/dojo/throttle.js')
-rw-r--r-- | lib/dojo/throttle.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/dojo/throttle.js b/lib/dojo/throttle.js new file mode 100644 index 000000000..dc8d35a88 --- /dev/null +++ b/lib/dojo/throttle.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/throttle",[],function(){return function(cb,_1){var _2=true;return function(){if(!_2){return;}_2=false;cb.apply(this,arguments);setTimeout(function(){_2=true;},_1);};};});
\ No newline at end of file |