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

Commit 0d72bef

Browse files
committed
version bump 1.2.1
1 parent 2ecef8f commit 0d72bef

File tree

7 files changed

+16
-11
lines changed

7 files changed

+16
-11
lines changed

HISTORY.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
[1.2.1](https://github.com/paularmstrong/swig/tree/v1.2.1) / 2013-12-02
2+
-----------------------------------------------------------------------
3+
4+
* Fix scoping for Express. gh-363
5+
16
[1.2.0](https://github.com/paularmstrong/swig/tree/v1.2.0) / 2013-12-01
2-
-------------------------------------------------------------------------------
7+
-----------------------------------------------------------------------
38

49
* **Added** Filepath parameter can be passed to swig.run to allow extends in-browser. gh-349
510
* **Changed** Use local-context first for var lookups. gh-344, gh-347
@@ -10,14 +15,14 @@
1015
* **Fixed** Fix misc documentation issues. gh-359, gh-358
1116

1217
[1.1.0](https://github.com/paularmstrong/swig/tree/v1.1.0) / 2013-10-02
13-
-------------------------------------------------------------------------------
18+
-----------------------------------------------------------------------
1419

1520
* **Added** Allow logic in default parsing. gh-326
1621
* **Fixed** Error when attempting to wrap spaceless tag around macro/function output. gh-336
1722
* **Fixed** Don't overwrite keys on the locals object. gh-337
1823

1924
[1.0.0](https://github.com/paularmstrong/swig/tree/v1.0.0) / 2013-09-23
20-
-------------------------------------------------------------------------------
25+
-----------------------------------------------------------------------
2126

2227
* **Fixed** Allow parent and other tags to work correctly nested in other tags. gh-331
2328
* **Fixed** Prevent lexer from matching partial logic/words in variables. gh-330

browser/comments.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
/*! Swig v1.2.0 | https://paularmstrong.github.com/swig | @license https://github.com/paularmstrong/swig/blob/master/LICENSE */
1+
/*! Swig v1.2.1 | 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/docs.json

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

docs/index.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "v1.2.0"
2+
"version": "v1.2.1"
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.2.0") { ... }
12+
* if (swig.version === "1.2.1") { ... }
1313
*
1414
* @type {String}
1515
*/
16-
exports.version = "1.2.0";
16+
exports.version = "1.2.1";
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.2.0",
3+
"version": "1.2.1",
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.2.0', function () {
17-
expect(swig.version).to.equal('1.2.0');
16+
it('is 1.2.1', function () {
17+
expect(swig.version).to.equal('1.2.1');
1818
});
1919
});
2020

0 commit comments

Comments
 (0)