public/javascripts/yui/treeview/treeview.js
function() {


        var sb = [];
        sb[sb.length] = '<div class="ygtvchildren" id="' + this.getChildrenElId() + '"';

        // This is a workaround for an IE rendering issue, the child div has layout
        // in IE, creating extra space if a leaf node is created with the expanded
        // property set to true.
        if (!this.expanded || !this.hasChildren()) {
            sb[sb.length] = ' style="display:none;"';
        }
        sb[sb.length] = '>';


        // Don't render the actual child node HTML unless this node is expanded.
        if ( (this.hasChildren(true) && this.expanded) ||
                (this.renderHidden && !this.isDynamic()) ) {
            sb[sb.length] = this.renderChildren();
        }

        sb[sb.length] = '</div>';

        return sb.join("");
    }
function() {


        var sb = [];
        sb[sb.length] = '<div class="ygtvchildren" id="' + this.getChildrenElId() + '"';

        // This is a workaround for an IE rendering issue, the child div has layout
        // in IE, creating extra space if a leaf node is created with the expanded
        // property set to true.
        if (!this.expanded || !this.hasChildren()) {
            sb[sb.length] = ' style="display:none;"';
        }
        sb[sb.length] = '>';


        // Don't render the actual child node HTML unless this node is expanded.
        if ( (this.hasChildren(true) && this.expanded) ||
                (this.renderHidden && !this.isDynamic()) ) {
            sb[sb.length] = this.renderChildren();
        }

        sb[sb.length] = '</div>';

        return sb.join("");
    }
function ( ) { var sb = [ ] ; sb [ sb . length ] = '<div class="ygtvchildren" id="' + this . getChildrenElId ( ) + '"' ; // This is a workaround for an IE rendering issue, the child div has layout // in IE, creating extra space if a leaf node is created with the expanded // property set to true. if ( ! this . expanded || ! this . hasChildren ( ) ) { sb [ sb . length ] = ' style="display:none;"' ; } sb [ sb . length ] = '>' ; // Don't render the actual child node HTML unless this node is expanded. if ( ( this . hasChildren ( true ) && this . expanded ) || ( this . renderHidden && ! this . isDynamic ( ) ) ) { sb [ sb . length ] = this . renderChildren ( ) ; } sb [ sb . length ] = '</div>' ; return sb . join ( "" ) ; }
Called when first rendering the tree.  We always build the div that will
contain this nodes children, but we don't render the children themselves
unless this node is expanded.
@method getChildrenHtml
@return {string} the children container div html and any expanded children
@private
Called when first rendering the tree . We always build the div that will contain this nodes children but we don t render the children themselves unless this node is expanded .