summaryrefslogtreecommitdiff
path: root/lib/dijit/Destroyable.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-01-21 21:59:17 +0300
committerAndrew Dolgov <[email protected]>2017-01-21 21:59:17 +0300
commite2e2479984b3aaadb4c0947e5ec15276e5c9a337 (patch)
tree1662c1772cbcb6e44d017cea28e35d45de44921f /lib/dijit/Destroyable.js
parentab235fc5f13385a690a1ed31ae77d0006c85197d (diff)
parent1c4f5e83900fdd71a84f2e142c694c75106bef53 (diff)
Merge branch 'dojo-1.12.1'
Conflicts: js/prefs.js
Diffstat (limited to 'lib/dijit/Destroyable.js')
-rw-r--r--lib/dijit/Destroyable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dijit/Destroyable.js b/lib/dijit/Destroyable.js
index b58101cc7..97baa772c 100644
--- a/lib/dijit/Destroyable.js
+++ b/lib/dijit/Destroyable.js
@@ -1,2 +1,2 @@
//>>built
-define("dijit/Destroyable",["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_1,_2,_3){return _3("dijit.Destroyable",null,{destroy:function(_4){this._destroyed=true;},own:function(){_1.forEach(arguments,function(_5){var _6="destroyRecursive" in _5?"destroyRecursive":"destroy" in _5?"destroy":"remove";var _7=_2.before(this,"destroy",function(_8){_5[_6](_8);});var _9=_2.after(_5,_6,function(){_7.remove();_9.remove();},true);},this);return arguments;}});}); \ No newline at end of file
+define("dijit/Destroyable",["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_1,_2,_3){return _3("dijit.Destroyable",null,{destroy:function(_4){this._destroyed=true;},own:function(){var _5=["destroyRecursive","destroy","remove"];_1.forEach(arguments,function(_6){var _7;var _8=_2.before(this,"destroy",function(_9){_6[_7](_9);});var _a=[];function _b(){_8.remove();_1.forEach(_a,function(_c){_c.remove();});};if(_6.then){_7="cancel";_6.then(_b,_b);}else{_1.forEach(_5,function(_d){if(typeof _6[_d]==="function"){if(!_7){_7=_d;}_a.push(_2.after(_6,_d,_b,true));}});}},this);return arguments;}});}); \ No newline at end of file