forked from janl/mustache.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES
43 lines (34 loc) · 1.68 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
34
35
36
37
38
39
40
41
42
43
= HEAD
* Don't require the original template to be passed to the rendering function
when using compiled templates. This is still required when using higher-order
functions in order to be able to extract the portion of the template
that was contained by that section. Fixes #262.
* Performance improvements.
= 0.7.2 / 27 Dec 2012
* Fixed a rendering bug (#274) when using nested higher-order sections.
* Better error reporting on failed parse.
* 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).