src/aria/core/Browser.js
function(source, destination) {
            // -------------------------------------------- arguments processing

            if (destination == null) {
                destination = this;
            }

            // ------------------------------------------------------ processing

            for (var key in source) {
                if (source.hasOwnProperty(key)) {
                    destination[key] = source[key];
                }
            }

            // ---------------------------------------------------------- return

            return destination;
        }
function(source, destination) {
            // -------------------------------------------- arguments processing

            if (destination == null) {
                destination = this;
            }

            // ------------------------------------------------------ processing

            for (var key in source) {
                if (source.hasOwnProperty(key)) {
                    destination[key] = source[key];
                }
            }

            // ---------------------------------------------------------- return

            return destination;
        }
function ( source , destination ) { // -------------------------------------------- arguments processing if ( destination == null ) { destination = this ; } // ------------------------------------------------------ processing for ( var key in source ) { if ( source . hasOwnProperty ( key ) ) { destination [ key ] = source [ key ] ; } } // ---------------------------------------------------------- return return destination ; }
Imports an object into another.

<p>
Own properties from given source are copied into given destination.
</p>

@param {Object} source The source object from which properties should be read.
@param {Object} destination The object receiving the properties. Defaults to <em>this</em>.

@return {Object} The destination object.

@private
Imports an object into another .