premasagar / tim

A tiny, secure JavaScript micro-templating script.
251 stars 26 forks source link

Re-orient Tim on the original tim.js microscript? #17

Closed premasagar closed 9 years ago

premasagar commented 11 years ago

I worked on tim2 for a while, and the simplicity of both its code and its templating syntax was interesting, but it never really matured into a robust enough library.

I've continued to find the original tim.js microscript useful for simple templating, but with the advent of handlebars and other templating libraries, I haven't felt too much need for the extended tim.js.

I'd be glad to hear feedback on whether there's anything specifically useful about the full tim.js compared to other libraries.

benpolinsky commented 7 years ago

Hi!
I picked up tim.js to inject a few config variables into .jsx when building a static site. While I do use handlebars for main templating, it would have been annoying (because, like handlebars, JSX also uses curly braces).

Works great. If I continue to use it and don't find a need for additional features, I may write up some unit tests.

Didn't do too much searching around, but tim.js seemed to fit my use-case, so I'm using it.

Thanks for the library.

premasagar commented 7 years ago

Thanks for your comment @benpolinsky. I'm glad you've found it useful.