Trimming the ui parameter
One of our design goals with the jQuery UI API is to not have multiple ways of doing something, to keep things simple. There are two properties often included in the ui parameter in callback functions I propose removing, as they're duplicative:
ui.element (same as $(this))
ui.options (options should be get and set through the api - .pluginname("option", key, value))
Both may have been needed before when we weren't (yet) consistent with $(this) and being able to get and set all options through the API, but that's behind us. Am I missing some reason why these should stick around? Thanks.
- Richard