public/javascripts/yui/yuiloader/yuiloader.js
function(tId) {
        if (queues[tId]) {

            var q     = queues[tId],
                nodes = q.nodes, 
                l     = nodes.length, 
                d     = q.win.document, 
                h     = d.getElementsByTagName("head")[0],
                sib, i, node, attr;

            if (q.insertBefore) {
                sib = _get(q.insertBefore, tId);
                if (sib) {
                    h = sib.parentNode;
                }
            }

            for (i=0; i<l; i=i+1) {
                node = nodes[i];
                if (node.clearAttributes) {
                    node.clearAttributes();
                } else {
                    for (attr in node) {
                        delete node[attr];
                    }
                }

                h.removeChild(node);
            }

            q.nodes = [];
        }
    }
function(tId) {
        if (queues[tId]) {

            var q     = queues[tId],
                nodes = q.nodes, 
                l     = nodes.length, 
                d     = q.win.document, 
                h     = d.getElementsByTagName("head")[0],
                sib, i, node, attr;

            if (q.insertBefore) {
                sib = _get(q.insertBefore, tId);
                if (sib) {
                    h = sib.parentNode;
                }
            }

            for (i=0; i<l; i=i+1) {
                node = nodes[i];
                if (node.clearAttributes) {
                    node.clearAttributes();
                } else {
                    for (attr in node) {
                        delete node[attr];
                    }
                }

                h.removeChild(node);
            }

            q.nodes = [];
        }
    }
function ( tId ) { if ( queues [ tId ] ) { var q = queues [ tId ] , nodes = q . nodes , l = nodes . length , d = q . win . document , h = d . getElementsByTagName ( "head" ) [ 0 ] , sib , i , node , attr ; if ( q . insertBefore ) { sib = _get ( q . insertBefore , tId ) ; if ( sib ) { h = sib . parentNode ; } } for ( i = 0 ; i < l ; i = i + 1 ) { node = nodes [ i ] ; if ( node . clearAttributes ) { node . clearAttributes ( ) ; } else { for ( attr in node ) { delete node [ attr ] ; } } h . removeChild ( node ) ; } q . nodes = [ ] ; } }
Removes the nodes for the specified queue
@method _purge
@private
Removes the nodes for the specified queue