src/i18njs-builder.js
function changeKeys (src, dest) {
                for (var i in src) {
                    if (typeof src[i] === 'object') {
                        dest[escapedSingleQuotes + i +
                            escapedSingleQuotes] = {};
                        changeKeys(src[i], dest[escapedSingleQuotes + i +
                            escapedSingleQuotes]);
                    } else {
                        dest[escapedSingleQuotes + i +
                            escapedSingleQuotes] = src[i];
                    }
                }
                return dest;
            }
function changeKeys (src, dest) {
                for (var i in src) {
                    if (typeof src[i] === 'object') {
                        dest[escapedSingleQuotes + i +
                            escapedSingleQuotes] = {};
                        changeKeys(src[i], dest[escapedSingleQuotes + i +
                            escapedSingleQuotes]);
                    } else {
                        dest[escapedSingleQuotes + i +
                            escapedSingleQuotes] = src[i];
                    }
                }
                return dest;
            }
function changeKeys ( src , dest ) { for ( var i in src ) { if ( typeof src [ i ] === 'object' ) { dest [ escapedSingleQuotes + i + escapedSingleQuotes ] = { } ; changeKeys ( src [ i ] , dest [ escapedSingleQuotes + i + escapedSingleQuotes ] ) ; } else { dest [ escapedSingleQuotes + i + escapedSingleQuotes ] = src [ i ] ; } } return dest ; }
Little hack to keep quotes on key names.
Little hack to keep quotes on key names .