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.
With the commit of BorisMoore:
"Changed the variable used in buildTmplFn from _ to __. (Issue 10) Compromise choice: a variable name that is unlikely to exist as a global, or as a field name on data,
but is not too long, to keep code size down."
The test doen't work any more, so I just fixed the variable name in the test.
I know jquery-tmpl is no longer being actively developed or maintained, but I think the test case should even work.
With the commit of BorisMoore: "Changed the variable used in buildTmplFn from _ to __. (Issue 10) Compromise choice: a variable name that is unlikely to exist as a global, or as a field name on data, but is not too long, to keep code size down."
The test doen't work any more, so I just fixed the variable name in the test.
I know jquery-tmpl is no longer being actively developed or maintained, but I think the test case should even work.