Fork me on GitHub

ist.js

DOM templating made natural

News

ist.js v0.5.7 released

06 September 2013 permalink

I just pushed a 0.5.7 release. I've been working quite a bit to prepare version 0.6 (which will mainly enable updating rendered templates), rewriting things many times, and I decided to do another release before 0.6 because of some already useful changes.

On a user's perspective, here is what changed in this version:

@dom someNode
template.render({ someNode: document.createElement("div"); });
@define "article"
    .article
        h1 "{{ title }}"
        "{{ text }}"

@each articles
    @use "article"

For people defining directive helpers, here is a summary of what changed; please refer to the documentation for more details.

More changes have happened under the hood, see the changelog for more details.