tt-rss/lib/dijit/Destroyable.js
Anders Kaseorg 6887a0f573 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 <andersk@mit.edu>
2017-01-21 13:22:14 -05:00

2 lines
No EOL
622 B
JavaScript

//>>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(){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;}});});