Demo entry 2842035

123

   

Submitted by anonymous on Oct 11, 2015 at 08:42
Language: JavaScript. Code size: 206 Bytes.

destroyRecursive: function(/*Boolean?*/ preserveDom){

    this._beingDestroyed = true;
    this.destroyDescendants(preserveDom);//销毁所有子孙节点(包含在containerNode里面的节点)
    this.destroy(preserveDom);//销毁本身
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).