t.js
/**
     * Simple function to mix in properties from source into target,
     * but only if target does not already have a property of the same name.
     */
Simple function to mix in properties from source into target,
but only if target does not already have a property of the same name.
Simple function to mix in properties from source into target but only if target does not already have a property of the same name .
function mixin(target, source, force, deepStringMixin) {
        if (source) {
            eachProp(source, function (value, prop) {
                if (force || !hasProp(target, prop)) {
                    if (deepStringMixin && typeof value === 'object' && value && !isArray(value) && !isFunction(value) && !(value instanceof RegExp)) {
                        if (!target[prop]) {
                            target[prop] = {};
                        }
                        mixin(target[prop], value, force, deepStringMixin);
                    } else {
                        target[prop] = value;
                    }
                }
            });
        }
        return target;
    }
function mixin ( target , source , force , deepStringMixin ) { if ( source ) { eachProp ( source , function ( value , prop ) { if ( force || ! hasProp ( target , prop ) ) { if ( deepStringMixin && typeof value === 'object' && value && ! isArray ( value ) && ! isFunction ( value ) && ! ( value instanceof RegExp ) ) { if ( ! target [ prop ] ) { target [ prop ] = { } ; } mixin ( target [ prop ] , value , force , deepStringMixin ) ; } else { target [ prop ] = value ; } } } ) ; } return target ; }
Simple function to mix in properties from source into target,
 but only if target does not already have a property of the same name.
Simple function to mix in properties from source into target but only if target does not already have a property of the same name .