Oh, got your point, Scott... great, then! :-)
confusion... thanks!
On Jul 1, 3:01 pm, Scott González <
scott.gonza...@gmail.com> wrote:
> Hey Diogo,
>
> I just talked to some of the other team members and we agreed that passing
> an empty hash makes sense in this case. The reason we would provide an
> empty hash is because we essentially have an interface defined by our
> standards, without having an actual interface to force the function
> definitions to match. Part of our standard for widgets and interactions is
> that all callbacks have associated events and both the callback and event
> will always receive two parameter: the event object and a hash containing
> information relevant to the event. In the case where there is no
> information relevant to the event, we will provide an empty hash.
>
> I've created a ticket for this:
http://dev.jqueryui.com/ticket/4650
>