src/salvation.js
function (primary, secondary) {
            var primary = primary || {};
            for (var property in secondary)
                if (secondary.hasOwnProperty(property))
                    primary[property] = secondary[property];
            return primary;
        }
function (primary, secondary) {
            var primary = primary || {};
            for (var property in secondary)
                if (secondary.hasOwnProperty(property))
                    primary[property] = secondary[property];
            return primary;
        }
function ( primary , secondary ) { var primary = primary || { } ; for ( var property in secondary ) if ( secondary . hasOwnProperty ( property ) ) primary [ property ] = secondary [ property ] ; return primary ; }
Extend a given object with
another object.

@param       object      Object that is to be extended
@param       object      Object with properties to add to first object
@returns     object
Extend a given object with another object .