We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dddd789 commit d06e75fCopy full SHA for d06e75f
lib/web/mage/utils/template.js
@@ -40,7 +40,7 @@ define([
40
* To limit recursion for a specific property add __disableTmpl: {propertyName: numberOfCycles}.
41
*
42
* @param {String} tmpl
43
- * @param {Object} target
+ * @param {Object|undefined} target
44
* @returns {Boolean|Object}
45
*/
46
function isTmplIgnored(tmpl, target) {
@@ -131,7 +131,7 @@ define([
131
cycles = 0;
132
133
while (~tmpl.indexOf(opener) && (typeof maxCycles === 'undefined' || cycles < maxCycles)) {
134
- if (!isTmplIgnored(tmpl, data)) {
+ if (!isTmplIgnored(tmpl)) {
135
tmpl = template(tmpl, data);
136
}
137
0 commit comments