dist/es5/dev/templating/dom.js
function remove(el) {
            while (el._events.length > 0) {
                el._events.shift().remove();
            }

            if (el.children) {
                destroy(el.children);
            }
            if (el.elGroup !== undefined) {
                el.elGroup.delete(el.el);
            }

            if (el.el !== undefined) {
                if (el.el.remove) {
                    el.el.remove();
                } else if (el.el.parentNode) {
                    el.el.parentNode.removeChild(el.el);
                }
                delete el.el;
            }
        }
function remove(el) {
            while (el._events.length > 0) {
                el._events.shift().remove();
            }

            if (el.children) {
                destroy(el.children);
            }
            if (el.elGroup !== undefined) {
                el.elGroup.delete(el.el);
            }

            if (el.el !== undefined) {
                if (el.el.remove) {
                    el.el.remove();
                } else if (el.el.parentNode) {
                    el.el.parentNode.removeChild(el.el);
                }
                delete el.el;
            }
        }
function remove ( el ) { while ( el . _events . length > 0 ) { el . _events . shift ( ) . remove ( ) ; } if ( el . children ) { destroy ( el . children ) ; } if ( el . elGroup !== undefined ) { el . elGroup . delete ( el . el ) ; } if ( el . el !== undefined ) { if ( el . el . remove ) { el . el . remove ( ) ; } else if ( el . el . parentNode ) { el . el . parentNode . removeChild ( el . el ) ; } delete el . el ; } }
Remove Dom Element from Dom  @method remove @param {dom.Element}
Remove Dom Element from Dom