src/console/simpleyui.js
function(doc) {
        var node = this._node;
        doc = (doc) ? doc._node || doc : node[OWNER_DOCUMENT];
        if (doc.documentElement) {
            return Y_DOM.contains(doc.documentElement, node);
        }
    }
function(doc) {
        var node = this._node;
        doc = (doc) ? doc._node || doc : node[OWNER_DOCUMENT];
        if (doc.documentElement) {
            return Y_DOM.contains(doc.documentElement, node);
        }
    }
function ( doc ) { var node = this . _node ; doc = ( doc ) ? doc . _node || doc : node [ OWNER_DOCUMENT ] ; if ( doc . documentElement ) { return Y_DOM . contains ( doc . documentElement , node ) ; } }
Determines whether the node is appended to the document.
@method inDoc
@param {Node|HTMLElement} doc optional An optional document to check against.
Defaults to current document.
@return {Boolean} Whether or not this node is appended to the document.
Determines whether the node is appended to the document .