We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f40e8b1 commit 68437aeCopy full SHA for 68437ae
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "worksmith",
3
- "version": "0.2.8",
+ "version": "0.2.9",
4
"description": "A purely functional workflow engine ",
5
"main": "index.js",
6
"scripts": {
src/interpolation/Interpolator.js
@@ -93,7 +93,7 @@ Interpolator.prototype.rules = {
93
},
94
95
name: "legacy {template:'...'} field resolver",
96
- match: function(value) { return "template" in value },
+ match: function(value) { return Object.keys(value).length === 1 && "template" in value },
97
action: function(interpolator, context, value) {
98
console.warn("obsoleted functionality: { template: value }, use [hbs]..[/hbs] instead")
99
var template = value.template
0 commit comments