Skip to content
New issue

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

Event Namespaces #19

Open
wesleytodd opened this issue Nov 8, 2014 · 1 comment
Open

Event Namespaces #19

wesleytodd opened this issue Nov 8, 2014 · 1 comment

Comments

@wesleytodd
Copy link
Contributor

To move the discussion of this forward (from #14) I thought I would open a new issue. The way I would see this implemented it as a plugin. We could then provide simple hooks into the core lib for the plugin to operate on.

The actual namespaces would look like this:

Gator(document).on('ns:click', function() {});
Gator(document).off('ns');

Optionally you could use dots (.), but personally I would prefer colons (:).

@WillsB3
Copy link

WillsB3 commented Jan 28, 2015

+1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants