Element.empty looks like this:
empty: function(){
Array.from(this.childNodes).each(Element.dispose);
return this;
},But it seems to me it should use destroy, as the nodes are removed and a reference to them is not returned. Thoughts? -Andrew
Element.empty looks like this:
empty: function(){
Array.from(this.childNodes).each(Element.dispose);
return this;
},But it seems to me it should use destroy, as the nodes are removed and a reference to them is not returned. Thoughts? -Andrew