premasagar / tim

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

TinyTim - adding conditionals capability #21

Open masterbee opened 8 years ago

masterbee commented 8 years ago

@premasagar - any thoughts on adding the ability to handle conditionals in tinytim ( since you have it in tim already )? That would really enhance the already very elegant little brother version

masterbee commented 8 years ago

@premasagar - had some time to work on this so I did a PR with my changes to your tinytim.js script. https://github.com/premasagar/tim/pull/22

Just sharing in case you were interested in merging it into your version. It is not a competitor for the more robust tim.js it is a simple extension of tinytim.js with a focus on keeping things very compact and controlled