Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A lightweight but powerful templating engine, highly extensible, without DOM or jQuery dependency.
branch: master

Commit 63 (Post Beta)

MINOR BREAKING CHANGES
- Removed minor undocumented feature where custom tags
  could return false from init.

NEW FEATURE
- A new itemVar feature allows you to set a context variable
  on any tag, to provide access to the block context, even
  within nest tag blocks below.
  e.g. {{for people itemVar="~person"}}
  See #256
  and http://jsfiddle.net/BorisMoore/zgr90L3s/

- Many new unit tests added for the above new feature.

- Some small additional bug fixes.
latest commit 16d0ade440
Boris Moore authored

README.md

JsRender: best-of-breed templating

Simple and intuitive, powerful and extensible, lightning fast

JsRender is a light-weight but powerful templating engine, highly extensible, and optimized for high-performance pure string-based rendering, without DOM or jQuery dependency.

JSRender and JsViews together provide the next-generation implementation of both JQuery Templates, and JQuery Data Link - and supersede those libraries.

Documentation and Downloads

Documentation, downloads, samples and API docs and tutorials are available on the www.jsviews.com website.
(Stay tuned at www.jsviews.com for additional content - coming incrementally as we move towards V1.0)

JsRender and JsViews

JsRender is used for rendering of templates to strings, ready for insertion in the DOM.
It is also used by the JsViews platform, which adds data binding to JsRender templates, and provides a fully-fledged MVVM platform for easily creating interactive data-driven single page apps and websites.

Demos

In addition to the demos at www.jsviews.com/#samples, and throughout the API documentation, see also:

  • the demos folder of this GitHub repository - available here as live samples.
  • the demos folder of the JsViews GitHub repository - or here as live samples.

Current Status

JsRender is now a beta release, currently moving towards V1.0.

Something went wrong with that request. Please try again.