velocityjs
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -0,1 +1,5 @@ | ||
## 10.1 2018-03-08 | ||
- fix: #set bug in nested #foreach loops [#100](https://github.com/shepherdwind/velocity.js/issues/100) | ||
## 1.0.0 2018-01-13 | ||
@@ -2,0 +6,0 @@ |
{ | ||
"name": "velocityjs", | ||
"description": "Velocity Template Language(VTL) for JavaScript", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -14,3 +14,3 @@ Velocity - Template Engine | ||
[download-url]: https://npmjs.org/package/velocityjs | ||
[travis-image]: https://img.shields.io/travis/shepherdwind/velocity.js.svg?style=flat-square | ||
[travis-image]: https://img.shields.io/travis/shepherdwind/velocity.js/master.svg?style=flat-square | ||
[travis-url]: https://travis-ci.org/shepherdwind/velocity.js | ||
@@ -17,0 +17,0 @@ [coveralls-image]: https://img.shields.io/coveralls/shepherdwind/velocity.js.svg?style=flat-square |
@@ -25,6 +25,7 @@ module.exports = function(Velocity, utils){ | ||
//see https://github.com/shepherdwind/velocity.js/issues/25 | ||
// @see #25 | ||
if (this.condition && this.condition.indexOf('macro:') === 0) { | ||
context = this.context; | ||
} else if (this.context[ref.id] != null) { | ||
} else { | ||
// set var to global context, see #100 | ||
context = this.context; | ||
@@ -31,0 +32,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
385367
2764