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 7ade44e commit febabeaCopy full SHA for febabea
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) {
@@ -136,7 +136,7 @@ define([
136
cycles = 0;
137
138
while (~tmpl.indexOf(opener) && (typeof maxCycles === 'undefined' || cycles < maxCycles)) {
139
- if (!isTmplIgnored(tmpl, data)) {
+ if (!isTmplIgnored(tmpl)) {
140
tmpl = template(tmpl, data);
141
}
142
0 commit comments