Skip to content

Commit f7e4b05

Browse files
committed
Make dump reference silent.
1 parent 88c8120 commit f7e4b05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/data/data-formatter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ function dump(data/* private params*/, literal, indent) {
187187
}
188188

189189
} else {
190-
itemLiteral = literal ? literal + '.' + key : '$' + key
190+
itemLiteral = literal ? literal + '.' + key : '$!' + key
191191
rt += br + key + ': ' + dump(item, itemLiteral, indent + 2)
192192
}
193193

@@ -202,7 +202,7 @@ function dump(data/* private params*/, literal, indent) {
202202
// NOTE
203203
// if the itemLiteral is always the same
204204
// $list1.list2 will cause an error
205-
var itemLiteral = '$item' + indent
205+
var itemLiteral = '$!item' + indent
206206

207207
var rt = '['
208208
rt += '#foreach(' + itemLiteral + ' in ' + literal + ')' +

0 commit comments

Comments
 (0)