text: if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
  if (!__coverage__['build/rednose-treeview/rednose-treeview.js']) {
     __coverage__['build/rednose-treeview/rednose-treeview.js'] = {"path":"build/rednose-treeview/rednose-treeview.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0],"9":[0,0],"10":[0,0],"11":[0,0],"12":[0,0],"13":[0,0],"14":[0,0],"15":[0,0]},"f":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":47}}},"2":{"name":"(anonymous_2)","line":73,"loc":{"start":{"line":73,"column":17},"end":{"line":73,"column":35}}},"3":{"name":"(anonymous_3)","line":78,"loc":{"start":{"line":78,"column":58},"end":{"line":78,"column":74}}},"4":{"name":"(anonymous_4)","line":88,"loc":{"start":{"line":88,"column":44},"end":{"line":88,"column":56}}},"5":{"name":"(anonymous_5)","line":98,"loc":{"start":{"line":98,"column":16},"end":{"line":98,"column":28}}},"6":{"name":"(anonymous_6)","line":113,"loc":{"start":{"line":113,"column":12},"end":{"line":113,"column":24}}},"7":{"name":"(anonymous_7)","line":145,"loc":{"start":{"line":145,"column":10},"end":{"line":145,"column":28}}},"8":{"name":"(anonymous_8)","line":164,"loc":{"start":{"line":164,"column":16},"end":{"line":164,"column":39}}},"9":{"name":"(anonymous_9)","line":176,"loc":{"start":{"line":176,"column":25},"end":{"line":176,"column":37}}},"10":{"name":"(anonymous_10)","line":190,"loc":{"start":{"line":190,"column":23},"end":{"line":190,"column":35}}},"11":{"name":"(anonymous_11)","line":198,"loc":{"start":{"line":198,"column":15},"end":{"line":198,"column":32}}},"12":{"name":"(anonymous_12)","line":209,"loc":{"start":{"line":209,"column":15},"end":{"line":209,"column":27}}},"13":{"name":"(anonymous_13)","line":215,"loc":{"start":{"line":215,"column":18},"end":{"line":215,"column":31}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":261,"column":3}},"2":{"start":{"line":46,"column":0},"end":{"line":240,"column":3}},"3":{"start":{"line":74,"column":8},"end":{"line":74,"column":32}},"4":{"start":{"line":76,"column":8},"end":{"line":76,"column":61}},"5":{"start":{"line":78,"column":8},"end":{"line":80,"column":11}},"6":{"start":{"line":79,"column":12},"end":{"line":79,"column":44}},"7":{"start":{"line":82,"column":8},"end":{"line":84,"column":9}},"8":{"start":{"line":83,"column":12},"end":{"line":83,"column":40}},"9":{"start":{"line":86,"column":8},"end":{"line":86,"column":35}},"10":{"start":{"line":88,"column":8},"end":{"line":95,"column":11}},"11":{"start":{"line":90,"column":12},"end":{"line":94,"column":13}},"12":{"start":{"line":91,"column":16},"end":{"line":91,"column":48}},"13":{"start":{"line":93,"column":16},"end":{"line":93,"column":36}},"14":{"start":{"line":100,"column":8},"end":{"line":100,"column":33}},"15":{"start":{"line":114,"column":8},"end":{"line":117,"column":95}},"16":{"start":{"line":119,"column":8},"end":{"line":119,"column":53}},"17":{"start":{"line":120,"column":8},"end":{"line":120,"column":81}},"18":{"start":{"line":123,"column":8},"end":{"line":123,"column":50}},"19":{"start":{"line":124,"column":8},"end":{"line":124,"column":39}},"20":{"start":{"line":126,"column":8},"end":{"line":128,"column":9}},"21":{"start":{"line":127,"column":12},"end":{"line":127,"column":100}},"22":{"start":{"line":130,"column":8},"end":{"line":133,"column":11}},"23":{"start":{"line":135,"column":8},"end":{"line":135,"column":29}},"24":{"start":{"line":137,"column":8},"end":{"line":137,"column":20}},"25":{"start":{"line":146,"column":8},"end":{"line":146,"column":43}},"26":{"start":{"line":148,"column":8},"end":{"line":154,"column":9}},"27":{"start":{"line":149,"column":12},"end":{"line":149,"column":26}},"28":{"start":{"line":151,"column":12},"end":{"line":153,"column":13}},"29":{"start":{"line":152,"column":16},"end":{"line":152,"column":46}},"30":{"start":{"line":165,"column":8},"end":{"line":165,"column":27}},"31":{"start":{"line":167,"column":8},"end":{"line":167,"column":22}},"32":{"start":{"line":169,"column":8},"end":{"line":171,"column":9}},"33":{"start":{"line":170,"column":12},"end":{"line":170,"column":46}},"34":{"start":{"line":177,"column":8},"end":{"line":177,"column":60}},"35":{"start":{"line":179,"column":8},"end":{"line":181,"column":10}},"36":{"start":{"line":191,"column":8},"end":{"line":191,"column":46}},"37":{"start":{"line":192,"column":8},"end":{"line":192,"column":44}},"38":{"start":{"line":199,"column":8},"end":{"line":199,"column":42}},"39":{"start":{"line":201,"column":8},"end":{"line":203,"column":9}},"40":{"start":{"line":202,"column":12},"end":{"line":202,"column":67}},"41":{"start":{"line":210,"column":8},"end":{"line":210,"column":53}},"42":{"start":{"line":216,"column":8},"end":{"line":218,"column":9}},"43":{"start":{"line":217,"column":12},"end":{"line":217,"column":19}},"44":{"start":{"line":220,"column":8},"end":{"line":221,"column":48}},"45":{"start":{"line":223,"column":8},"end":{"line":227,"column":9}},"46":{"start":{"line":224,"column":12},"end":{"line":226,"column":14}},"47":{"start":{"line":243,"column":0},"end":{"line":243,"column":64}}},"branchMap":{"1":{"line":74,"type":"binary-expr","locations":[{"start":{"line":74,"column":8},"end":{"line":74,"column":14}},{"start":{"line":74,"column":19},"end":{"line":74,"column":30}}]},"2":{"line":78,"type":"binary-expr","locations":[{"start":{"line":78,"column":8},"end":{"line":78,"column":29}},{"start":{"line":78,"column":34},"end":{"line":80,"column":9}}]},"3":{"line":82,"type":"if","locations":[{"start":{"line":82,"column":8},"end":{"line":82,"column":8}},{"start":{"line":82,"column":8},"end":{"line":82,"column":8}}]},"4":{"line":90,"type":"if","locations":[{"start":{"line":90,"column":12},"end":{"line":90,"column":12}},{"start":{"line":90,"column":12},"end":{"line":90,"column":12}}]},"5":{"line":120,"type":"cond-expr","locations":[{"start":{"line":120,"column":59},"end":{"line":120,"column":66}},{"start":{"line":120,"column":69},"end":{"line":120,"column":78}}]},"6":{"line":126,"type":"if","locations":[{"start":{"line":126,"column":8},"end":{"line":126,"column":8}},{"start":{"line":126,"column":8},"end":{"line":126,"column":8}}]},"7":{"line":146,"type":"binary-expr","locations":[{"start":{"line":146,"column":8},"end":{"line":146,"column":14}},{"start":{"line":146,"column":19},"end":{"line":146,"column":41}}]},"8":{"line":148,"type":"if","locations":[{"start":{"line":148,"column":8},"end":{"line":148,"column":8}},{"start":{"line":148,"column":8},"end":{"line":148,"column":8}}]},"9":{"line":169,"type":"if","locations":[{"start":{"line":169,"column":8},"end":{"line":169,"column":8}},{"start":{"line":169,"column":8},"end":{"line":169,"column":8}}]},"10":{"line":177,"type":"binary-expr","locations":[{"start":{"line":177,"column":8},"end":{"line":177,"column":28}},{"start":{"line":177,"column":33},"end":{"line":177,"column":58}}]},"11":{"line":192,"type":"binary-expr","locations":[{"start":{"line":192,"column":8},"end":{"line":192,"column":17}},{"start":{"line":192,"column":21},"end":{"line":192,"column":43}}]},"12":{"line":201,"type":"if","locations":[{"start":{"line":201,"column":8},"end":{"line":201,"column":8}},{"start":{"line":201,"column":8},"end":{"line":201,"column":8}}]},"13":{"line":210,"type":"binary-expr","locations":[{"start":{"line":210,"column":15},"end":{"line":210,"column":46}},{"start":{"line":210,"column":50},"end":{"line":210,"column":52}}]},"14":{"line":216,"type":"if","locations":[{"start":{"line":216,"column":8},"end":{"line":216,"column":8}},{"start":{"line":216,"column":8},"end":{"line":216,"column":8}}]},"15":{"line":223,"type":"if","locations":[{"start":{"line":223,"column":8},"end":{"line":223,"column":8}},{"start":{"line":223,"column":8},"end":{"line":223,"column":8}}]}},"code":["(function () { YUI.add('rednose-treeview', function (Y, NAME) {","","/*jshint boss:true, expr:true, onevar:false */","","/**"," * Provides the `Y.Rednose.TreeView` widget."," *"," * @module rednose-treeview"," */","","/**"," * A TreeView widget, implementing Y.View."," * Quick Example:<br/>"," *"," * <pre><code>var instance = new Y.Rednose.TreeView({"," *    nodes     : nodes,"," *    dragdrop  : true,"," *    selectable: true,"," *    groups    : ['rednose-treeview'],"," *    header    : 'RedNose TreeView'"," * });"," * </code></pre>"," *"," * @class TreeView"," * @namespace Rednose"," * @param {Object} [config] The following configuration properties are required:"," *"," *     @param {Object} [config.container] The container to bind the treeView to."," *     @param {Boolean} [config.dragdrop] Enable standalone drag and drop for this instance."," *     @param {Boolean} [config.selectable] Enables selection of tree nodes. Only single selection"," *         is supported for now"," *     @param {function} [config.selectableTest] Optional callback function to cancel a selection."," *     @param {function} [config.ddTest] Optional callback function used to determain which"," *         nodes should have drag and drop applied. (Default is all)."," *     @param {Array} [config.nodes] The tree nodes."," *     @param {Array} [config.groups] The DD groups that can interact with this"," *         TreeView instance."," *     @param {String} [config.header] An optional header, needed for global dropping on the root node"," *"," * @constructor"," * @uses Rednose.TreeView.Anim"," * @uses Rednose.TreeView.Selectable"," * @uses Rednose.TreeView.DD"," * @extends TreeView"," */","var RednoseTreeView = Y.Base.create('treeView', Y.TreeView, [","    Y.TreeView.Sortable,","    Y.Rednose.Tree.Comparable,","    Y.Rednose.Tree.Icon,","    Y.Rednose.TreeView.Anim,","    Y.Rednose.TreeView.DD,","    Y.Rednose.TreeView.Selectable","], {","","    // -- Public Properties -------------------------------------------------","","    /**","     * Overwrite the default templates used to render this TreeView.","     *","     * @property {Object} templates","     */","    templates: Y.Rednose.TreeView.Templates,","","    rednoseClassNames: {","        'outer' : 'rednose-treeview-outer-container',","        'inner' : 'rednose-treeview-inner-container',","        'icon'  : 'glyphicon',","        'header': 'dropdown-header'","    },","","    // -- Lifecycle Methods ----------------------------------------------------","","    initializer: function (config) {","        config || (config = {});","","        Y.mix(this.classNames, this.rednoseClassNames, true);","","        config.sortComparator || (config.sortComparator = function (node) {","            return node.label.toLowerCase();","        });","","        if (config.header) {","            this.header = config.header;","        }","","        this._attachEventHandles();","","        this.onceAfter('initializedChange', function () {","            // Let the setter handle the node initialization.","            if (config.nodes) {","                this.set('nodes', config.nodes);","","                delete config.nodes;","            }","        });","    },","","    destructor: function () {","        // Remove the container from the DOM and destroy it.","        this._destroyContainer();","    },","","    // -- Public Methods -------------------------------------------------------","","    /**","     * Overrides TreeView's `render()` method to wrap the container into a parent container,","     * and hook into the rendering process.","     *","     * @method render","     * @chainable","     * @see TreeView.render()","     */","    render: function () {","        var container     = this.get('container'),","            isTouchDevice = 'ontouchstart' in Y.config.win,","            header        = this.header,","            subContainer  = Y.Node.create('<div class=\"' + this.classNames.inner + '\"></div>');","","        container.addClass(this.classNames.treeview);","        container.addClass(this.classNames[isTouchDevice ? 'touch' : 'noTouch']);","","        // Append a subcontainer to render the tree.","        container.addClass(this.classNames.outer);","        container.append(subContainer);","","        if (header) {","            subContainer.append('<div class=\"' + this.classNames.header + '\">' + header + '</div>');","        }","","        this._childrenNode = this.renderChildren(this.rootNode, {","            // Pass the subcontainer.","            container: subContainer","        });","","        this.rendered = true;","","        return this;","    },","","    /**","     * Open all tree nodes.","     *","     * @param {Tree.Node} parent","     */","    open: function (parent) {","        parent || (parent = this.rootNode);","","        if (parent.hasChildren()) {","            parent.open();","","            for (var i = 0, len = parent.children.length; i < len; i++) {","                this.open(parent.children[i]);","            }","        }","    },","","    /**","     * Renames a treenode.","     *","     * @method renameNode","     * @param {Tree.Node} node Tree node.","     * @param {String} label The new value.","     */","    renameNode: function (node, label) {","        node.label = label;","","        var labelNode;","","        if (labelNode = node._htmlNode.one('.' + this.classNames.label)) {","            labelNode.set('text', node.label);","        }","    },","","    // -- Protected Methods ----------------------------------------------------","","    _attachEventHandles: function () {","        this._treeViewEvents || (this._treeViewEvents = []);","","        this._treeViewEvents.push(","            this.after(['open', 'close'], this._afterToggle, this)","        );","    },","","    /**","     * Removes the `container` from the DOM and purges all its event listeners.","     *","     * @method _destroyContainer","     * @protected","     */","    _destroyContainer: function () {","        var container = this.get('container');","        container && container.remove(true);","    },","","    /**","     * @param {Array} value","     */","    _setNodes: function (value) {","        this.clear(null, {silent: false});","","        if (value) {","            this.insertNode(this.rootNode, value, {silent: false});","        }","    },","","    /**","     * @return {Array}","     */","    _getNodes: function () {","        return this.rootNode.toJSON().children || [];","    },","","    // -- Protected Event Handlers ---------------------------------------------","","    _afterToggle: function (e) {","        if (this.rendered === false) {","            return;","        }","","        var node     = e.node,","            htmlNode = this.getHTMLNode(e.node);","","        if (node.icon) {","            htmlNode.one('.' + this.classNames.icon).set('className',","                this.classNames.icon + ' ' + node.getIcon()","            );","        }","    }","}, {","    ATTRS: {","        /**","         * @attribute {Array} nodes","         */","        nodes: {","            value : [],","            setter: '_setNodes',","            getter: '_getNodes'","        }","    }","});","","// -- Namespace ----------------------------------------------------------------","Y.Rednose.TreeView = Y.mix(RednoseTreeView, Y.Rednose.TreeView);","","","}, '1.8.0', {","    \"requires\": [","        \"gallery-sm-treeview-sortable\",","        \"rednose-tree\",","        \"rednose-treeview-anim\",","        \"rednose-treeview-datasource\",","        \"rednose-treeview-dd\",","        \"rednose-treeview-templates\",","        \"rednose-treeview-select\",","        \"node\"","    ],","    \"supersedes\": [","        \"gallery-sm-treeview-templates\"","    ],","    \"rollup\": 1","});","","}());"]};
  }
  var __cov_L8V3YQ6yhCTCmhrWDZ$C5w = __coverage__['build/rednose-treeview/rednose-treeview.js'];
  __cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['1']++;YUI.add('rednose-treeview',function(Y,NAME){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.f['1']++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['2']++;var RednoseTreeView=Y.Base.create('treeView',Y.TreeView,[Y.TreeView.Sortable,Y.Rednose.Tree.Comparable,Y.Rednose.Tree.Icon,Y.Rednose.TreeView.Anim,Y.Rednose.TreeView.DD,Y.Rednose.TreeView.Selectable],{templates:Y.Rednose.TreeView.Templates,rednoseClassNames:{'outer':'rednose-treeview-outer-container','inner':'rednose-treeview-inner-container','icon':'glyphicon','header':'dropdown-header'},initializer:function(config){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.f['2']++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['3']++;(__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['1'][0]++,config)||(__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['1'][1]++,config={});__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['4']++;Y.mix(this.classNames,this.rednoseClassNames,true);__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['5']++;(__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['2'][0]++,config.sortComparator)||(__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['2'][1]++,config.sortComparator=function(node){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.f['3']++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['6']++;return node.label.toLowerCase();});__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['7']++;if(config.header){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['3'][0]++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['8']++;this.header=config.header;}else{__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['3'][1]++;}__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['9']++;this._attachEventHandles();__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['10']++;this.onceAfter('initializedChange',function(){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.f['4']++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['11']++;if(config.nodes){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['4'][0]++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['12']++;this.set('nodes',config.nodes);__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['13']++;delete config.nodes;}else{__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['4'][1]++;}});},destructor:function(){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.f['5']++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['14']++;this._destroyContainer();},render:function(){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.f['6']++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['15']++;var container=this.get('container'),isTouchDevice='ontouchstart'in Y.config.win,header=this.header,subContainer=Y.Node.create('<div class="'+this.classNames.inner+'"></div>');__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['16']++;container.addClass(this.classNames.treeview);__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['17']++;container.addClass(this.classNames[isTouchDevice?(__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['5'][0]++,'touch'):(__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['5'][1]++,'noTouch')]);__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['18']++;container.addClass(this.classNames.outer);__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['19']++;container.append(subContainer);__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['20']++;if(header){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['6'][0]++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['21']++;subContainer.append('<div class="'+this.classNames.header+'">'+header+'</div>');}else{__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['6'][1]++;}__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['22']++;this._childrenNode=this.renderChildren(this.rootNode,{container:subContainer});__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['23']++;this.rendered=true;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['24']++;return this;},open:function(parent){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.f['7']++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['25']++;(__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['7'][0]++,parent)||(__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['7'][1]++,parent=this.rootNode);__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['26']++;if(parent.hasChildren()){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['8'][0]++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['27']++;parent.open();__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['28']++;for(var i=0,len=parent.children.length;i<len;i++){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['29']++;this.open(parent.children[i]);}}else{__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['8'][1]++;}},renameNode:function(node,label){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.f['8']++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['30']++;node.label=label;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['31']++;var labelNode;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['32']++;if(labelNode=node._htmlNode.one('.'+this.classNames.label)){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['9'][0]++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['33']++;labelNode.set('text',node.label);}else{__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['9'][1]++;}},_attachEventHandles:function(){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.f['9']++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['34']++;(__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['10'][0]++,this._treeViewEvents)||(__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['10'][1]++,this._treeViewEvents=[]);__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['35']++;this._treeViewEvents.push(this.after(['open','close'],this._afterToggle,this));},_destroyContainer:function(){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.f['10']++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['36']++;var container=this.get('container');__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['37']++;(__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['11'][0]++,container)&&(__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['11'][1]++,container.remove(true));},_setNodes:function(value){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.f['11']++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['38']++;this.clear(null,{silent:false});__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['39']++;if(value){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['12'][0]++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['40']++;this.insertNode(this.rootNode,value,{silent:false});}else{__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['12'][1]++;}},_getNodes:function(){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.f['12']++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['41']++;return(__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['13'][0]++,this.rootNode.toJSON().children)||(__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['13'][1]++,[]);},_afterToggle:function(e){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.f['13']++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['42']++;if(this.rendered===false){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['14'][0]++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['43']++;return;}else{__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['14'][1]++;}__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['44']++;var node=e.node,htmlNode=this.getHTMLNode(e.node);__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['45']++;if(node.icon){__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['15'][0]++;__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['46']++;htmlNode.one('.'+this.classNames.icon).set('className',this.classNames.icon+' '+node.getIcon());}else{__cov_L8V3YQ6yhCTCmhrWDZ$C5w.b['15'][1]++;}}},{ATTRS:{nodes:{value:[],setter:'_setNodes',getter:'_getNodes'}}});__cov_L8V3YQ6yhCTCmhrWDZ$C5w.s['47']++;Y.Rednose.TreeView=Y.mix(RednoseTreeView,Y.Rednose.TreeView);},'1.8.0',{'requires':['gallery-sm-treeview-sortable','rednose-tree','rednose-treeview-anim','rednose-treeview-datasource','rednose-treeview-dd','rednose-treeview-templates','rednose-treeview-select','node'],'supersedes':['gallery-sm-treeview-templates'],'rollup':1});
  