Browse Source

Version 0.7.1

tags/0.7.1
Michael Jackson 13 years ago
parent
commit
c09c7f54a3
4 changed files with 10 additions and 8 deletions
  1. +6
    -4
      CHANGES
  2. +1
    -1
      mustache.js
  3. +1
    -1
      mustache.js.nuspec
  4. +2
    -2
      package.json

+ 6
- 4
CHANGES View File

@@ -1,5 +1,6 @@
= HEAD / 22 Sep 2012
= 0.7.1 / 6 Dec 2012


* Handle empty templates gracefully. Fixes #265, #267, and #270.
* Cache partials by template, not by name. Fixes #257. * Cache partials by template, not by name. Fixes #257.
* Added Mustache.compileTokens to compile the output of Mustache.parse. Fixes * Added Mustache.compileTokens to compile the output of Mustache.parse. Fixes
#258. #258.
@@ -7,14 +8,15 @@
= 0.7.0 / 10 Sep 2012 = 0.7.0 / 10 Sep 2012


* Rename Renderer => Writer. * Rename Renderer => Writer.
* Allow partials to be loaded dynamically using a callback (thanks @TiddoLangerak
for the suggestion).
* 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 * Fixed a bug with higher-order sections that prevented them from being
passed the raw text of the section from the original template. passed the raw text of the section from the original template.
* More concise token format. Tokens also include start/end indices in the * More concise token format. Tokens also include start/end indices in the
original template. original template.
* High-level API is consistent with the Writer API. * High-level API is consistent with the Writer API.
* Allow partials to be passed to the pre-compiled function (thanks @fallenice).
* Allow partials to be passed to the pre-compiled function (thanks
@fallenice).
* Don't use eval (thanks @cweider). * Don't use eval (thanks @cweider).


= 0.6.0 / 31 Aug 2012 = 0.6.0 / 31 Aug 2012


+ 1
- 1
mustache.js View File

@@ -20,7 +20,7 @@ var Mustache;
var exports = {}; var exports = {};


exports.name = "mustache.js"; exports.name = "mustache.js";
exports.version = "0.7.0";
exports.version = "0.7.1";
exports.tags = ["{{", "}}"]; exports.tags = ["{{", "}}"];


exports.Scanner = Scanner; exports.Scanner = Scanner;


+ 1
- 1
mustache.js.nuspec View File

@@ -2,7 +2,7 @@
<package > <package >
<metadata> <metadata>
<id>mustache.js</id> <id>mustache.js</id>
<version>0.7.0</version>
<version>0.7.1</version>
<authors>mustache.js Authors</authors> <authors>mustache.js Authors</authors>
<licenseUrl>https://github.com/janl/mustache.js/blob/master/LICENSE</licenseUrl> <licenseUrl>https://github.com/janl/mustache.js/blob/master/LICENSE</licenseUrl>
<projectUrl>http://mustache.github.com/</projectUrl> <projectUrl>http://mustache.github.com/</projectUrl>


+ 2
- 2
package.json View File

@@ -1,6 +1,6 @@
{ {
"name": "mustache", "name": "mustache",
"version": "0.7.0",
"version": "0.7.1",
"description": "Logic-less {{mustache}} templates with JavaScript", "description": "Logic-less {{mustache}} templates with JavaScript",
"author": "mustache.js Authors <http://github.com/janl/mustache.js>", "author": "mustache.js Authors <http://github.com/janl/mustache.js>",
"keywords": ["mustache", "template", "templates", "ejs"], "keywords": ["mustache", "template", "templates", "ejs"],
@@ -9,7 +9,7 @@
"vows": "0.6.x" "vows": "0.6.x"
}, },
"volo": { "volo": {
"url": "https://raw.github.com/janl/mustache.js/0.7.0/mustache.js"
"url": "https://raw.github.com/janl/mustache.js/0.7.1/mustache.js"
}, },
"scripts": { "scripts": {
"test": "vows --spec" "test": "vows --spec"


Loading…
Cancel
Save