Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

.trigger() and .triggerHandler() added default value for "data" argument #675

wants to merge 1 commit into


None yet
2 participants

redexp commented Jan 10, 2013

If I will not pass data like this


then handlers will have not one argument (event), but two: event and undefined, because in proxy method of handler you concatenate [event].concat(event.data)

event.data should be array in any case


madrobby commented Nov 24, 2013

This matches jQuery behavior, data is undefined there as well if there's no data given.

@madrobby madrobby closed this Nov 24, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment