varvet / serenade.js

Client side MVC framework
http://serenadejs.org
Other
524 stars 27 forks source link

I miss remove space after tag - unreadable exception text #88

Open SergXIIIth opened 11 years ago

SergXIIIth commented 11 years ago

I miss remove space after tag

__.modal-footer_

underscore is showing the spaces

And got exception

Cannot read property '0' of undefined

Would be nice to have more readable exception text.

jnicklas commented 11 years ago

The error messages aren't great. I don't really know why, either. I think we broke something in the parser. jison generates terrible error messages anyway though, even when they work as intended, but they're not supposed to be that bad.