forked from janl/mustache.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
33 lines (26 loc) · 1.24 KB
/
CHANGES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
= HEAD
* Converted tests to use mocha instead of vows.
= 0.7.1 / 6 Dec 2012
* Handle empty templates gracefully. Fixes #265, #267, and #270.
* Cache partials by template, not by name. Fixes #257.
* Added Mustache.compileTokens to compile the output of Mustache.parse. Fixes
#258.
= 0.7.0 / 10 Sep 2012
* Rename Renderer => Writer.
* Allow partials to be loaded dynamically using a callback (thanks
@TiddoLangerak for the suggestion).
* Fixed a bug with higher-order sections that prevented them from being
passed the raw text of the section from the original template.
* More concise token format. Tokens also include start/end indices in the
original template.
* High-level API is consistent with the Writer API.
* Allow partials to be passed to the pre-compiled function (thanks
@fallenice).
* Don't use eval (thanks @cweider).
= 0.6.0 / 31 Aug 2012
* Use JavaScript's definition of falsy when determining whether to render an
inverted section or not. Issue #186.
* Use Mustache.escape to escape values inside {{}}. This function may be
reassigned to alter the default escaping behavior. Issue #244.
* Fixed a bug that clashed with QUnit (thanks @kannix).
* Added volo support (thanks @guybedford).