-
Notifications
You must be signed in to change notification settings - Fork 738
Open
Description
Why the items callbacks (each option in the contex menu) aren't normal jQuery events but instead being called manually? (line 885 callback.call(root.$trigger, key, root)
) and besides that those are being called with weird arguments, the first parameter of a callback should always be an Event
object, that's how all event listeners work in jQuery, jQuery.UI and hundreads of plugins, then the other parameters could be the key and the root.