natural-web
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -22,3 +22,3 @@ "use strict"; | ||
var boundProperty = binding.substr(1, binding.length - 2); | ||
childContent = childContent.replace(binding, "${item." + boundProperty + "}"); | ||
childContent = childContent.replace(binding, "${item" + (boundProperty !== 'item' ? "." + boundProperty : '') + "}`"); | ||
}); | ||
@@ -25,0 +25,0 @@ if (element.sourceUrl) { |
{ | ||
"name": "natural-web", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
@@ -23,3 +23,3 @@ import { HtmlListElement } from "../../../types/html/HtmlListElement"; | ||
const boundProperty = binding.substr( 1, binding.length - 2 ); | ||
childContent = childContent.replace( binding, `\${item.${boundProperty}}` ); | ||
childContent = childContent.replace( binding, `\${item` + (boundProperty !== 'item' ? `.${boundProperty}` : '') + `}\`` ); | ||
} ); | ||
@@ -26,0 +26,0 @@ |
249195