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

Fix event handler in case no key is specified. #24

Merged
merged 2 commits into from
Mar 27, 2012

Conversation

millermedeiros
Copy link
Contributor

The way it was checking for no keys was wrong since "".split(" ") returns
an Array with a single empty string, checking for keys.length isn't enough.

Bug was introduced when changed the way plugin works to use namespaces.

I should have tested it earlier, sorry.

This might be related with #23 (never tested it)

The way it was checking for no keys was wrong since `"".split(" ")` returns
an Array with a single empty string, checking for `keys.length` isn't enough.

Bug was introduced when changed the way plugin works to use namespaces.
zuriby added a commit that referenced this pull request Mar 27, 2012
Fix event handler in case no key is specified.
@zuriby zuriby merged commit 9fcdd6c into zuriby:master Mar 27, 2012
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

Successfully merging this pull request may close these issues.

2 participants