app/assets/javascripts/i18n.js in i18n-js-3.0.2 vs app/assets/javascripts/i18n.js in i18n-js-3.0.3
- old
+ new
@@ -115,10 +115,10 @@
var merge = function (dest, obj) {
var key, value;
for (key in obj) if (obj.hasOwnProperty(key)) {
value = obj[key];
- if (isString(value) || isNumber(value) || isBoolean(value)) {
+ if (isString(value) || isNumber(value) || isBoolean(value) || isArray(value)) {
dest[key] = value;
} else {
if (dest[key] == null) dest[key] = {};
merge(dest[key], value);
}