]> git.wh0rd.org - tt-rss.git/blobdiff - lib/dijit/Destroyable.js
lib: Upgrade Dojo and Dijit from 1.8.3 to 1.12.1
[tt-rss.git] / lib / dijit / Destroyable.js
index b58101cc77e3a84fcf65a54cff8f247cdf5166e9..97baa772ce2bfbf78bad89b19ff6d35c0fb4e922 100644 (file)
@@ -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