BorisMoore / jquery-tmpl

The original official jQuery Templates plugin. This project was maintained by the jQuery team as an official jQuery plugin. It is no longer in active development, and has been superseded by JsRender.
3.23k stars 1.01k forks source link

{{switch}} statement is needed for jquery-tmpl #174

Closed Sikurity closed 11 years ago

Sikurity commented 11 years ago

I think {{switch}} statement is needed for jquery-tmpl

{{switch}} {{case condition1}}

 {{/case}}
 {{case condition2}}
      -
 {{/case}}
 {{otherwise}}
      -
 {{/otherwise}}

{{/switch}}

this jsp-tag-style is good-looking.

and {{ / }} had better be able to change like <{ / }>

My 2cents.

vendethiel commented 11 years ago

"Note: The jQuery team has decided not to take this plugin past beta. It is no longer being actively developed or maintained."