On Thu, 22 May 2014, Kyle Adams wrote:

> > @@ -725,7 +727,17 @@ YUI.add('machine-view-panel', function(Y) {
> >              @attribute machineTokens
> >              @type {Object}
> >             */
> > -          machineTokens: {}
> > +          machineTokens: {},
>
> One of the confusing things for me, re-entering the YUI world, is when
> properties are pure instance vars and when they aren't. I feel more
> comfortable with a consistent approach - that is, every property is a
> proper YUI attribute or it isn't. Then interacting with the object,
> particularly in tests, isn't a mental game of "do I use get or just dot
> notation".

I like to think about ATTRS as an API that's publicly exposed. If it's not
part of a public API (like these internal trackers) then I like to keep
them as 'privatish' attributes on the object itself.

Does that help?