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

Commit

Permalink
version bump 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
paularmstrong committed Dec 2, 2013
1 parent 9c7da5c commit 236ca16
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 7 deletions.
11 changes: 11 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
[1.2.0](https://github.com/paularmstrong/swig/tree/v1.2.0) / 2013-12-01
-------------------------------------------------------------------------------

* **Added** Filepath parameter can be passed to swig.run to allow extends in-browser. gh-349
* **Changed** Use local-context first for var lookups. gh-344, gh-347
* **Changed** Allow DOTKEY after functions/objects/filters. gh-355
* **Changed** Context of for-tags carries into includes. gh-356
* **Changed** When a callback is passed into compileFile, catch all errors thrown by compile and pass the error to callback. gh-340
* **Fixed** Instances of Swig retain their options properly. gh-351
* **Fixed** Fix misc documentation issues. gh-359, gh-358

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

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.1.0 | https://paularmstrong.github.com/swig | @license https://github.com/paularmstrong/swig/blob/master/LICENSE */
/*! Swig v1.2.0 | 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/index.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "v1.1.0"
"version": "v1.2.0"
}
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.1.0") { ... }
* if (swig.version === "1.2.0") { ... }
*
* @type {String}
*/
exports.version = "1.1.0";
exports.version = "1.2.0";

/**
* 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.1.0",
"version": "1.2.0",
"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.1.0', function () {
expect(swig.version).to.equal('1.1.0');
it('is 1.2.0', function () {
expect(swig.version).to.equal('1.2.0');
});
});

Expand Down

0 comments on commit 236ca16

Please sign in to comment.