src/utils.js
/**
 shallow merge of keys from one object to another
 @protected
 @method _extend
 @param {Object} receiver The object which will receive the keys and values.
 @param {Object} sender The object which is providing the keys and values.
 @return {Object} The `receiver` object.
 */
shallow merge of keys from one object to another
shallow merge of keys from one object to another
function extend(receiver, sender) {
    var p;
    for (p in sender) {
        if (sender.hasOwnProperty(p)) {
            receiver[p] = sender[p];
        }
    }
    return receiver;
}
function extend ( receiver , sender ) { var p ; for ( p in sender ) { if ( sender . hasOwnProperty ( p ) ) { receiver [ p ] = sender [ p ] ; } } return receiver ; }
shallow merge of keys from one object to another
shallow merge of keys from one object to another