yui/yui3 — pull request #244 by sdesai (2012-09-07 21:43:08+00:00)
Title: Fix for Widget.getByNode regression. Bug #2532619

This was introduced in 3.5.0, when we had plans to ship TreeView with a WidgetHTMLRenderer.

The change was originally made so that we could maintain an instance map, without necessarily requiring a Node to stamp() during intialization. When we get to WidgetHTMLRenderer for real, we should still be able to do this, by populating the cache, through the protected _mapInstance method, after the string/markup has been added to the DOM, and we can generate a Node reference for it.

So basically revert to pre-3.5.0 behavior with a future plan for WidgetHTMLRenderer