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

How to get original dom event? #92

Closed
liuhann opened this issue Jul 31, 2017 · 3 comments
Closed

How to get original dom event? #92

liuhann opened this issue Jul 31, 2017 · 3 comments
Assignees
Labels

Comments

@liuhann
Copy link

liuhann commented Jul 31, 2017

The code below works right but I got error thrown

<input m-on:change="imageSelected(event)">

moon.js:179 [Moon] ERROR: The item "event" was not defined but was referenced

@kbrsh kbrsh self-assigned this Jul 31, 2017
@kbrsh
Copy link
Owner

kbrsh commented Jul 31, 2017

This is actually a bug in the compiler. Thanks for reporting!

@kbrsh kbrsh added the bug label Jul 31, 2017
@kbrsh kbrsh closed this as completed in ed26a5b Jul 31, 2017
@Marc-oO
Copy link

Marc-oO commented Jan 23, 2018

Hello,

this bug seems to be fixed, but i still have this warning :

[Moon] ERROR: The item "event" was not defined but was referenced

( https://codepen.io/anon/pen/wPXKrR?editors=1111 )

Regards

@kbrsh
Copy link
Owner

kbrsh commented Jan 23, 2018

@Marc-oO That's another bug ;)

It has also been fixed in the current v1 development.

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

No branches or pull requests

3 participants