3 ms·
Being able to forget about closing tags in HAML is such a godsend for me, just saying.
by Breefield 15y ago
Being able to forget about closing tags in HAML is such a godsend for me, just saying.
- gregwebs 15y agoHAML is good, but abandons HTML too much, which is why we created Hamlet. I just yesterday released a client-side version: https://github.com/gregwebs/hamlet.js https://github.com/gregwebs/hamlet.js I did mustache style variable interpolation (but you can stick whatever js you want in it) because it was easy to implement. I just realized that this style doesn't allow the insertion of javascript loops, but it would be compatible with mustache and make for a much better implementation - you also wouldn't need to close your mustache loop just like you don't need to close your tag.