Skip to content

Commit

Permalink
⬆️ 7.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kobezzza committed Sep 21, 2018
1 parent 059ad33 commit 635e68b
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 29 deletions.
2 changes: 1 addition & 1 deletion bower.json
Expand Up @@ -2,7 +2,7 @@
"name": "snakeskin",
"description": "Awesome JavaScript template engine.",
"main": "dist/snakeskin.min.js",
"version": "7.5.0",
"version": "7.5.1",
"homepage": "https://github.com/SnakeskinTpl/Snakeskin",
"license": "MIT",
"authors": [
Expand Down
16 changes: 10 additions & 6 deletions dist/snakeskin.js
@@ -1,11 +1,11 @@
/*!
* Snakeskin v7.5.0
* Snakeskin v7.5.1
* https://github.com/SnakeskinTpl/Snakeskin
*
* Released under the MIT license
* https://github.com/SnakeskinTpl/Snakeskin/blob/master/LICENSE
*
* Date: 'Wed, 19 Sep 2018 11:00:57 GMT
* Date: 'Fri, 21 Sep 2018 15:57:43 GMT
*/

(function (global, factory) {
Expand All @@ -16,7 +16,7 @@

var Snakeskin = void 0;
var Snakeskin$1 = Snakeskin = {
VERSION: [7, 5, 0]
VERSION: [7, 5, 1]
};

/**
Expand Down Expand Up @@ -6541,10 +6541,14 @@ Parser.prototype.getVar = function (name) {
return vars[name].value;
}

var globalName = name + '_' + id;
var nms = [id, 0];

if (vars[globalName]) {
return vars[globalName].value;
for (var i = 0; i < nms.length; i++) {
var globalName = name + '_' + nms[i];

if (vars[globalName]) {
return vars[globalName].value;
}
}
}

Expand Down
6 changes: 3 additions & 3 deletions dist/snakeskin.live.js
@@ -1,11 +1,11 @@
/*!
* Snakeskin v7.5.0 (live)
* Snakeskin v7.5.1 (live)
* https://github.com/SnakeskinTpl/Snakeskin
*
* Released under the MIT license
* https://github.com/SnakeskinTpl/Snakeskin/blob/master/LICENSE
*
* Date: 'Wed, 19 Sep 2018 11:00:58 GMT
* Date: 'Fri, 21 Sep 2018 15:57:44 GMT
*/

(function (global, factory) {
Expand All @@ -16,7 +16,7 @@

var Snakeskin = void 0;
var Snakeskin$1 = Snakeskin = {
VERSION: [7, 5, 0]
VERSION: [7, 5, 1]
};

/**
Expand Down
4 changes: 2 additions & 2 deletions dist/snakeskin.live.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 14 additions & 14 deletions dist/snakeskin.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -3,7 +3,7 @@
"description": "Awesome JavaScript template engine.",
"homepage": "https://github.com/SnakeskinTpl/Snakeskin",
"main": "snakeskin.js",
"version": "7.5.0",
"version": "7.5.1",
"license": "MIT",
"author": {
"name": "kobezzza",
Expand Down
2 changes: 1 addition & 1 deletion src/core.js
Expand Up @@ -10,7 +10,7 @@

let Snakeskin;
export default Snakeskin = {
VERSION: [7, 5, 0]
VERSION: [7, 5, 1]
};

/**
Expand Down

0 comments on commit 635e68b

Please sign in to comment.