Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Adding support to remove a specific listener for an event#6

Open
justinm wants to merge 2 commits into
epixa:masterfrom
justinm:remove_specific_listeners
Open

Adding support to remove a specific listener for an event#6
justinm wants to merge 2 commits into
epixa:masterfrom
justinm:remove_specific_listeners

Conversation

@justinm

@justinm justinm commented Jul 22, 2015

Copy link
Copy Markdown

This could be handy when wanting to remove specific callbacks instead of all callbacks for a given event.

Comment thread lib/chuckt.js Outdated

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean typeof callback here?

Also, can you update the comment for this function to include the additional argument as well as details for how the argument is used.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, nice catch! I'll get this fixed up.

@epixa

epixa commented Jul 22, 2015

Copy link
Copy Markdown
Owner

Thanks for the PR!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants