yui/yui3 — comment on commit 74e2650d8d60fe40ecac83daf83d3e0e3c77127c
File: src/app/js/view.js line 341
By rgrove:

Yeah, this is what Satyen and I came up with after brainstorming. It resolves two main issues:

1. It doesn't require a `valueFn`, which means that subclasses are free to specify their own `value` for the `container` attribute and it won't be overridden (this was a source of confusion for many users).

2. It ensures that even when the container is never explicitly set, a default value is assigned the first time it's retrieved.

I agree this should move to a prototype method, though, thanks for pointing that out.