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

Sensible error should be thrown if the named callback in the event hash is missing. #38

Closed
latentflip opened this issue Aug 6, 2014 · 2 comments

Comments

@latentflip
Copy link
Contributor

If the named event in the event hash isn't actually defined on the view, the error message is pretty obscure as it fails all the way down here: https://github.com/HenrikJoreteg/events/blob/master/index.js#L81

We can make that a lot better.

events: {
  'click .something': 'someFunctionToRun'
}

Related: #37

@kamilogorek
Copy link
Contributor

Both #37 and #38 has been tackled here HenrikJoreteg/events#2 cc @HenrikJoreteg

@lukekarrys
Copy link
Contributor

Closed by #106

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

3 participants