Hacker News new | past | comments | ask | show | jobs | submit login

I am using simple JS function that builds a DOM fragment in a safe way as a template engine replacement: https://github.com/stefanhaustein/notemplate/blob/master/src...

Allowed me to implement TodoMVC in less than 150 LOC. Usage examples start here: https://github.com/stefanhaustein/notemplate/blob/2ee22e392d...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: