v1.18.x
psychobunny 11 years ago
parent a2a6bf87f7
commit 69a31dcdd9

@ -253,7 +253,9 @@
for (var d in data) { for (var d in data) {
if (data.hasOwnProperty(d)) { if (data.hasOwnProperty(d)) {
if (data[d] === null) { if (typeof data[d] === 'undefined') {
continue;
} else if (data[d] === null) {
template = replace(namespace + d, '', template); template = replace(namespace + d, '', template);
} else if (data[d].constructor == Array) { } else if (data[d].constructor == Array) {
namespace += d + '.'; namespace += d + '.';

Loading…
Cancel
Save