summaryrefslogtreecommitdiff
path: root/lib/dijit/registry.js
diff options
context:
space:
mode:
authorAnders Kaseorg <[email protected]>2017-01-20 12:29:59 -0500
committerAnders Kaseorg <[email protected]>2017-01-21 13:22:14 -0500
commit6887a0f57307820b097b51aee952c555bcf69024 (patch)
treeff041c03ac0251468eb4308927052f8bd6071ca3 /lib/dijit/registry.js
parent9f539be3c2c93ce358b10ca396e922b3b99b56ea (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/dijit/registry.js')
-rw-r--r--lib/dijit/registry.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dijit/registry.js b/lib/dijit/registry.js
index aa79e5361..f6120f2da 100644
--- a/lib/dijit/registry.js
+++ b/lib/dijit/registry.js
@@ -1,2 +1,2 @@
//>>built
-define("dijit/registry",["dojo/_base/array","dojo/sniff","dojo/_base/unload","dojo/_base/window","./main"],function(_1,_2,_3,_4,_5){var _6={},_7={};var _8={length:0,add:function(_9){if(_7[_9.id]){throw new Error("Tried to register widget with id=="+_9.id+" but that id is already registered");}_7[_9.id]=_9;this.length++;},remove:function(id){if(_7[id]){delete _7[id];this.length--;}},byId:function(id){return typeof id=="string"?_7[id]:id;},byNode:function(_a){return _7[_a.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in _7){ar.push(_7[id]);}return ar;},getUniqueId:function(_b){var id;do{id=_b+"_"+(_b in _6?++_6[_b]:_6[_b]=0);}while(_7[id]);return _5._scopeName=="dijit"?id:_5._scopeName+"_"+id;},findWidgets:function(_c,_d){var _e=[];function _f(_10){for(var _11=_10.firstChild;_11;_11=_11.nextSibling){if(_11.nodeType==1){var _12=_11.getAttribute("widgetId");if(_12){var _13=_7[_12];if(_13){_e.push(_13);}}else{if(_11!==_d){_f(_11);}}}}};_f(_c);return _e;},_destroyAll:function(){_5._curFocus=null;_5._prevFocus=null;_5._activeStack=[];_1.forEach(_8.findWidgets(_4.body()),function(_14){if(!_14._destroyed){if(_14.destroyRecursive){_14.destroyRecursive();}else{if(_14.destroy){_14.destroy();}}}});},getEnclosingWidget:function(_15){while(_15){var id=_15.nodeType==1&&_15.getAttribute("widgetId");if(id){return _7[id];}_15=_15.parentNode;}return null;},_hash:_7};_5.registry=_8;return _8;}); \ No newline at end of file
+define("dijit/registry",["dojo/_base/array","dojo/_base/window","./main"],function(_1,_2,_3){var _4={},_5={};var _6={length:0,add:function(_7){if(_5[_7.id]){throw new Error("Tried to register widget with id=="+_7.id+" but that id is already registered");}_5[_7.id]=_7;this.length++;},remove:function(id){if(_5[id]){delete _5[id];this.length--;}},byId:function(id){return typeof id=="string"?_5[id]:id;},byNode:function(_8){return _5[_8.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in _5){ar.push(_5[id]);}return ar;},getUniqueId:function(_9){var id;do{id=_9+"_"+(_9 in _4?++_4[_9]:_4[_9]=0);}while(_5[id]);return _3._scopeName=="dijit"?id:_3._scopeName+"_"+id;},findWidgets:function(_a,_b){var _c=[];function _d(_e){for(var _f=_e.firstChild;_f;_f=_f.nextSibling){if(_f.nodeType==1){var _10=_f.getAttribute("widgetId");if(_10){var _11=_5[_10];if(_11){_c.push(_11);}}else{if(_f!==_b){_d(_f);}}}}};_d(_a);return _c;},_destroyAll:function(){_3._curFocus=null;_3._prevFocus=null;_3._activeStack=[];_1.forEach(_6.findWidgets(_2.body()),function(_12){if(!_12._destroyed){if(_12.destroyRecursive){_12.destroyRecursive();}else{if(_12.destroy){_12.destroy();}}}});},getEnclosingWidget:function(_13){while(_13){var id=_13.nodeType==1&&_13.getAttribute("widgetId");if(id){return _5[id];}_13=_13.parentNode;}return null;},_hash:_5};_3.registry=_6;return _6;}); \ No newline at end of file