jformatter.js
function (defaults, configure) {
        for (var key in defaults) {
            if (defaults.hasOwnProperty(key)) {
                if (typeof defaults[key] === 'object') {
                    // recursive
                    if (typeof configure[key] === 'object') {
                        overwriteConfig(defaults[key], configure[key]);
                    }
                } else {
                    // copy directly
                    if (typeof configure[key] !== 'undefined') {
                        defaults[key] = configure[key];
                    }
                }
            }
        }
    }
function (defaults, configure) {
        for (var key in defaults) {
            if (defaults.hasOwnProperty(key)) {
                if (typeof defaults[key] === 'object') {
                    // recursive
                    if (typeof configure[key] === 'object') {
                        overwriteConfig(defaults[key], configure[key]);
                    }
                } else {
                    // copy directly
                    if (typeof configure[key] !== 'undefined') {
                        defaults[key] = configure[key];
                    }
                }
            }
        }
    }
function ( defaults , configure ) { for ( var key in defaults ) { if ( defaults . hasOwnProperty ( key ) ) { if ( typeof defaults [ key ] === 'object' ) { // recursive if ( typeof configure [ key ] === 'object' ) { overwriteConfig ( defaults [ key ] , configure [ key ] ) ; } } else { // copy directly if ( typeof configure [ key ] !== 'undefined' ) { defaults [ key ] = configure [ key ] ; } } } } }
defaults the config
defaults the config