summaryrefslogtreecommitdiff
path: root/lib/dijit/_Contained.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/_Contained.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/_Contained.js')
-rw-r--r--lib/dijit/_Contained.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dijit/_Contained.js b/lib/dijit/_Contained.js
index 047e0d591..7a2905a19 100644
--- a/lib/dijit/_Contained.js
+++ b/lib/dijit/_Contained.js
@@ -1,2 +1,2 @@
//>>built
-define("dijit/_Contained",["dojo/_base/declare","./registry"],function(_1,_2){return _1("dijit._Contained",null,{_getSibling:function(_3){var _4=this.domNode;do{_4=_4[_3+"Sibling"];}while(_4&&_4.nodeType!=1);return _4&&_2.byNode(_4);},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});}); \ No newline at end of file
+define("dijit/_Contained",["dojo/_base/declare","./registry"],function(_1,_2){return _1("dijit._Contained",null,{_getSibling:function(_3){var p=this.getParent();return (p&&p._getSiblingOfChild&&p._getSiblingOfChild(this,_3=="previous"?-1:1))||null;},getPreviousSibling:function(){return this._getSibling("previous");},getNextSibling:function(){return this._getSibling("next");},getIndexInParent:function(){var p=this.getParent();if(!p||!p.getIndexOfChild){return -1;}return p.getIndexOfChild(this);}});}); \ No newline at end of file