machty / emblem.js

Emblem.js - Ember-friendly, indented syntax alternative for Handlebars.js
http://emblemjs.com
MIT License
1.04k stars 81 forks source link

small typo prints blank page, may be worth adding an error #256

Closed Leooo closed 8 years ago

Leooo commented 8 years ago

Took me one hour to find that a small typo in one of my embl templates was causing the page to render nothing, without any error message. Just thought it may be worth signalling it in case it is possible to detect this case and print a compile error when it occurs:

| This line will not be rendered at all when there is the typo below
a. click="destroyModel"
| This line will not be rendered at all when there is the typo above

=> typo is in the a., should be only a

thec0keman commented 8 years ago

Moved to #276