From 6887a0f57307820b097b51aee952c555bcf69024 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 20 Jan 2017 12:29:59 -0500 Subject: 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 --- lib/dojo/on/asyncEventListener.js | 8 ++++++++ lib/dojo/on/debounce.js | 8 ++++++++ lib/dojo/on/throttle.js | 8 ++++++++ 3 files changed, 24 insertions(+) create mode 100644 lib/dojo/on/asyncEventListener.js create mode 100644 lib/dojo/on/debounce.js create mode 100644 lib/dojo/on/throttle.js (limited to 'lib/dojo/on') diff --git a/lib/dojo/on/asyncEventListener.js b/lib/dojo/on/asyncEventListener.js new file mode 100644 index 000000000..a07925ae1 --- /dev/null +++ b/lib/dojo/on/asyncEventListener.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/on/asyncEventListener",["../on","../has","../_base/window","../dom-construct","../domReady!"],function(on,_1,_2,_3){var _4,_5,_6=false;if(_3){_4=_3.create("input",{type:"button"},_2.body()),on.once(_4,"click",function(e){_5=e;});_4.click();try{_6=_5.clientX===undefined;}catch(e){_6=true;}finally{_3.destroy(_4);}}_1.add("native-async-event-support",!_6);function _7(_8){var _9={},i;for(i in _8){_9[i]=_8[i];}return _9;};return function(_a){if(_6){return function(e){_a.call(this,_7(e));};}return _a;};}); \ No newline at end of file diff --git a/lib/dojo/on/debounce.js b/lib/dojo/on/debounce.js new file mode 100644 index 000000000..2a04403d2 --- /dev/null +++ b/lib/dojo/on/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/on/debounce",["../debounce","../on","./asyncEventListener"],function(_1,on,_2){return function(_3,_4){return function(_5,_6){return on(_5,_3,_2(_1(_6,_4)));};};}); \ No newline at end of file diff --git a/lib/dojo/on/throttle.js b/lib/dojo/on/throttle.js new file mode 100644 index 000000000..036ddba9e --- /dev/null +++ b/lib/dojo/on/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/on/throttle",["../throttle","../on"],function(_1,on){return function(_2,_3){return function(_4,_5){return on(_4,_2,_1(_5,_3));};};}); \ No newline at end of file -- cgit v1.2.3