Widget auto-getters ready for commit
The changes to $.widget that allow auto-detection of getters is ready to be committed to trunk. This change removes the getter property from $.ui.pluginName. The widget factory now detects if a plugin's method is chainable by looking at the return value - if the return value is the plugin instance then the method is chainable. This allows us to have methods act as both getters and setters.
I'd like to get this committed prior to the sprint this weekend, so I'd appreciate if anyone interested could review this by end of day Tuesday.
Ticket: <a href="http://dev.jqueryui.com/ticket/4411">http://dev.jqueryui.com/ticket/4411</a>
Code: <a href="http://jquery-ui.googlecode.com/svn/branches/dev/widget-factory/">http://jquery-ui.googlecode.com/svn/branches/dev/widget-factory/</a>
The branch contains the full code needed for the merge, but the heart of the changes are in ui.core.js in the attached patch: <a href="http://dev.jqueryui.com/attachment/ticket/4411/auto-getters.patch">http://dev.jqueryui.com/attachment/ticket/4411/auto-getters.patch</a>
The only changes to individual plugins is the addition of return values for chainable methods and the removal of the getter property.