Treant.js
function( obj1, obj2 ) {
            var newObj = {};
            if ( obj1 ) {
                this.inheritAttrs( newObj, this.cloneObj( obj1 ) );
            }
            if ( obj2 ) {
                this.inheritAttrs( newObj, obj2 );
            }
            return newObj;
        }
function( obj1, obj2 ) {
            var newObj = {};
            if ( obj1 ) {
                this.inheritAttrs( newObj, this.cloneObj( obj1 ) );
            }
            if ( obj2 ) {
                this.inheritAttrs( newObj, obj2 );
            }
            return newObj;
        }
function ( obj1 , obj2 ) { var newObj = { } ; if ( obj1 ) { this . inheritAttrs ( newObj , this . cloneObj ( obj1 ) ) ; } if ( obj2 ) { this . inheritAttrs ( newObj , obj2 ) ; } return newObj ; }
Returns a new object by merging the two supplied objects
@param {object} obj1
@param {object} obj2
@returns {object}
Returns a new object by merging the two supplied objects