-
Notifications
You must be signed in to change notification settings - Fork 1
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
this[dispatch] is not a function #10
Comments
@kirbysayshi any tips for making this more informative? this is probably due to improperly closed tags or something, right? |
I just saw a similar error the other day from properly nested tags, but some complicated attribute values that vash wasn't expecting (xml namespaces). I believe this is a bug where the parser gets to a state that should be impossible... if you have html that is causing this, definitely send it over if possible! In the meantime I'll try to catch the bad state. But a patch won't come until tomorrow at the earliest. One thing you can try is to remove "complicated" bits of the template, and try to narrow down what's causing it. Or something like bisecting the template with a binary search-esque spree. If you're feeling adventurous, you can run your browserify command with the DEBUG env variable set to $ DEBUG=* browserify -t vashify your.entry.js |
Cool, I'll def try to get that html and I don't need a super quick
|
<div>
<div></div>
</div>
</div> this appears to be the simplest thing that will cause this error. I was only able to track this down by modifying |
getting a not very helpful error message. i suspect i have poorly formatted tags, but I'm having a hard time tracking them down.
The text was updated successfully, but these errors were encountered: