function _contextSet(contextNodeOrId, set) {
        var contextNode = this._nodesById ? _contextGet.call(this, contextNodeOrId) : contextNodeOrId;
        if (contextNode) {
            var node = contextNode.node;
            if (!node) {
                if (contextNode.next) {
                     if (contextNode.index < this._contextState.nextSetIndex) {
                        LayoutUtility.error('Nodes must be layed out in the same order as they were requested!');
                     }
                     this._contextState.nextSetIndex = contextNode.index;
                }
                else if (contextNode.prev) {
                     if (contextNode.index > this._contextState.prevSetIndex) {
                        LayoutUtility.error('Nodes must be layed out in the same order as they were requested!');
                     }
                     this._contextState.prevSetIndex = contextNode.index;
                }
                node = _contextGetCreateAndOrderNodes.call(this, contextNode.renderNode, contextNode.prev);
                node._viewSequence = contextNode.viewSequence;
                node._layoutCount++;
                if (node._layoutCount === 1) {
                    this._contextState.addCount++;
                }
                contextNode.node = node;
            }
            node.usesTrueSize = contextNode.usesTrueSize;
            node.trueSizeRequested = contextNode.trueSizeRequested;
            node.set(set, this._context.size);
            contextNode.set = set;
        }
        return set;
    }
function _contextSet(contextNodeOrId, set) {
        var contextNode = this._nodesById ? _contextGet.call(this, contextNodeOrId) : contextNodeOrId;
        if (contextNode) {
            var node = contextNode.node;
            if (!node) {
                if (contextNode.next) {
                     if (contextNode.index < this._contextState.nextSetIndex) {
                        LayoutUtility.error('Nodes must be layed out in the same order as they were requested!');
                     }
                     this._contextState.nextSetIndex = contextNode.index;
                }
                else if (contextNode.prev) {
                     if (contextNode.index > this._contextState.prevSetIndex) {
                        LayoutUtility.error('Nodes must be layed out in the same order as they were requested!');
                     }
                     this._contextState.prevSetIndex = contextNode.index;
                }
                node = _contextGetCreateAndOrderNodes.call(this, contextNode.renderNode, contextNode.prev);
                node._viewSequence = contextNode.viewSequence;
                node._layoutCount++;
                if (node._layoutCount === 1) {
                    this._contextState.addCount++;
                }
                contextNode.node = node;
            }
            node.usesTrueSize = contextNode.usesTrueSize;
            node.trueSizeRequested = contextNode.trueSizeRequested;
            node.set(set, this._context.size);
            contextNode.set = set;
        }
        return set;
    }
function _contextSet ( contextNodeOrId , set ) { var contextNode = this . _nodesById ? _contextGet . call ( this , contextNodeOrId ) : contextNodeOrId ; if ( contextNode ) { var node = contextNode . node ; if ( ! node ) { if ( contextNode . next ) { if ( contextNode . index < this . _contextState . nextSetIndex ) { LayoutUtility . error ( 'Nodes must be layed out in the same order as they were requested!' ) ; } this . _contextState . nextSetIndex = contextNode . index ; } else if ( contextNode . prev ) { if ( contextNode . index > this . _contextState . prevSetIndex ) { LayoutUtility . error ( 'Nodes must be layed out in the same order as they were requested!' ) ; } this . _contextState . prevSetIndex = contextNode . index ; } node = _contextGetCreateAndOrderNodes . call ( this , contextNode . renderNode , contextNode . prev ) ; node . _viewSequence = contextNode . viewSequence ; node . _layoutCount ++ ; if ( node . _layoutCount === 1 ) { this . _contextState . addCount ++ ; } contextNode . node = node ; } node . usesTrueSize = contextNode . usesTrueSize ; node . trueSizeRequested = contextNode . trueSizeRequested ; node . set ( set , this . _context . size ) ; contextNode . set = set ; } return set ; }
Set the node content
Set the node content