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 62 (Post Beta)

- Tag inheritance now supports multi-level inheritance with
  easy invocation of the base class implementation using
  this.base(...) or this.baseApply(arguments):
  e.g.
  {
    baseTag: "for",
    onAfterLink: function() {
      ...
      this.baseApply(arguments);
    }
    ...
  }

  Similarly for callbacks declared declaratively on tags:
  e.g.
  {{for items onAfterLink=~myHelper onUpdate=~dbg}}...

  function myHelper() {
    ...
    this.baseApply(arguments);
  }

- Many new unit tests added for the above feature.

- Some small additional bug fixes.
latest commit c0710e0745
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.