I'm not convinced these need to be attributes. It'd be slower, more verbose, and I don't see any benefit.  


On Wednesday, February 13, 2013 at 10:47 PM, Eric Ferraiuolo wrote:

> In src/tree/js/tree.js:
> > + node class will be unique to this Tree instance and will not affect any > + other instances, nor will it modify the defined `nodeClass` itself. > + > + This provides a late-binding extension mechanism for nodes that doesn't > + require them to extend `Y.Base`, which would incur a significant performance > + hit. > + > + @property {Array} nodeExtensions > + @default [] > + **/ > + nodeExtensions: [], > + > + /** > + Root node of this Tree. > + > + @property {Tree.Node} rootNode  
> @rgrove (https://github.com/rgrove) any additional thoughts on properties vs. attributes for these two?
>  
> —
> Reply to this email directly or view it on GitHub (https://github.com/yui/yui3/pull/429/files#r3009109).  
>  
>  
>