We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maybe it's not necessary, but it would allow something like this (which is somewhat similar to jQuery's delegate/on):
$.delegate( subject, type, selector, callback, pass_this_data_to_the_callback );
instead of this:
$.delegate( subject, type, selector, function( e ) { e.preventDefault(); callback( pass_this_data_to_the_callback ); });
The text was updated successfully, but these errors were encountered:
You can already do that via:
$.delegate( subject, type, selector, callback.bind(null, pass_this_data_to_the_callback));
Sorry, something went wrong.
No branches or pull requests
Maybe it's not necessary, but it would allow something like this (which is somewhat similar to jQuery's delegate/on):
instead of this:
The text was updated successfully, but these errors were encountered: