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

Commit

Permalink
version bump v1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
paularmstrong committed Dec 3, 2013
1 parent beb37a2 commit 9532f53
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 9 deletions.
7 changes: 6 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
[1.2.2](https://github.com/paularmstrong/swig/tree/v1.2.2) / 2013-12-02
-----------------------------------------------------------------------

* **Fixed** CTX var output in imported macros. gh-363

[1.2.1](https://github.com/paularmstrong/swig/tree/v1.2.1) / 2013-12-02
-----------------------------------------------------------------------

* Fix scoping for Express. gh-363
* **Fixed** Scoping for Express. gh-363

[1.2.0](https://github.com/paularmstrong/swig/tree/v1.2.0) / 2013-12-01
-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion browser/comments.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/*! Swig v1.2.1 | https://paularmstrong.github.com/swig | @license https://github.com/paularmstrong/swig/blob/master/LICENSE */
/*! Swig v1.2.2 | https://paularmstrong.github.com/swig | @license https://github.com/paularmstrong/swig/blob/master/LICENSE */
/*! DateZ (c) 2011 Tomo Universalis | @license https://github.com/TomoUniversalis/DateZ/blob/master/LISENCE */
2 changes: 1 addition & 1 deletion docs/docs.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "v1.2.1"
"version": "v1.2.2"
}
2 changes: 1 addition & 1 deletion docs/index.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "v1.2.1"
"version": "v1.2.2"
}
4 changes: 2 additions & 2 deletions lib/swig.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ var fs = require('fs'),
/**
* Swig version number as a string.
* @example
* if (swig.version === "1.2.1") { ... }
* if (swig.version === "1.2.2") { ... }
*
* @type {String}
*/
exports.version = "1.2.1";
exports.version = "1.2.2";

/**
* 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.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "swig",
"version": "1.2.1",
"version": "1.2.2",
"description": "A simple, powerful, and extendable templating engine for node.js and browsers, similar to Django, Jinja2, and Twig.",
"keywords": [
"template",
Expand Down
4 changes: 2 additions & 2 deletions tests/basic.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ function resetOptions() {
}

describe('version', function () {
it('is 1.2.1', function () {
expect(swig.version).to.equal('1.2.1');
it('is 1.2.2', function () {
expect(swig.version).to.equal('1.2.2');
});
});

Expand Down

0 comments on commit 9532f53

Please sign in to comment.