Skip to content
This repository was archived by the owner on Apr 11, 2018. It is now read-only.

Commit 236ca16

Browse files
committed
version bump 1.2.0
1 parent 9c7da5c commit 236ca16

File tree

6 files changed

+18
-7
lines changed

6 files changed

+18
-7
lines changed

HISTORY.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
[1.2.0](https://github.com/paularmstrong/swig/tree/v1.2.0) / 2013-12-01
2+
-------------------------------------------------------------------------------
3+
4+
* **Added** Filepath parameter can be passed to swig.run to allow extends in-browser. gh-349
5+
* **Changed** Use local-context first for var lookups. gh-344, gh-347
6+
* **Changed** Allow DOTKEY after functions/objects/filters. gh-355
7+
* **Changed** Context of for-tags carries into includes. gh-356
8+
* **Changed** When a callback is passed into compileFile, catch all errors thrown by compile and pass the error to callback. gh-340
9+
* **Fixed** Instances of Swig retain their options properly. gh-351
10+
* **Fixed** Fix misc documentation issues. gh-359, gh-358
11+
112
[1.1.0](https://github.com/paularmstrong/swig/tree/v1.1.0) / 2013-10-02
213
-------------------------------------------------------------------------------
314

browser/comments.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
/*! Swig v1.1.0 | https://paularmstrong.github.com/swig | @license https://github.com/paularmstrong/swig/blob/master/LICENSE */
1+
/*! Swig v1.2.0 | https://paularmstrong.github.com/swig | @license https://github.com/paularmstrong/swig/blob/master/LICENSE */
22
/*! DateZ (c) 2011 Tomo Universalis | @license https://github.com/TomoUniversalis/DateZ/blob/master/LISENCE */

docs/index.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "v1.1.0"
2+
"version": "v1.2.0"
33
}

lib/swig.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ var fs = require('fs'),
99
/**
1010
* Swig version number as a string.
1111
* @example
12-
* if (swig.version === "1.1.0") { ... }
12+
* if (swig.version === "1.2.0") { ... }
1313
*
1414
* @type {String}
1515
*/
16-
exports.version = "1.1.0";
16+
exports.version = "1.2.0";
1717

1818
/**
1919
* Swig Options Object. This object can be passed to many of the API-level Swig methods to control various aspects of the engine. All keys are optional.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "swig",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"description": "A simple, powerful, and extendable templating engine for node.js and browsers, similar to Django, Jinja2, and Twig.",
55
"keywords": [
66
"template",

tests/basic.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ function resetOptions() {
1313
}
1414

1515
describe('version', function () {
16-
it('is 1.1.0', function () {
17-
expect(swig.version).to.equal('1.1.0');
16+
it('is 1.2.0', function () {
17+
expect(swig.version).to.equal('1.2.0');
1818
});
1919
});
2020

0 commit comments

Comments
 (0)