src/hft/scripts/misc/misc.js
function applyObject(src, dst) {
    Object.keys(src).forEach(function(key) {
      dst[key] = src[key];
    });
    return dst;
  }
function applyObject(src, dst) {
    Object.keys(src).forEach(function(key) {
      dst[key] = src[key];
    });
    return dst;
  }
function applyObject ( src , dst ) { Object . keys ( src ) . forEach ( function ( key ) { dst [ key ] = src [ key ] ; } ) ; return dst ; }
Copies all the src properties to the dst
@param {Object} src an object with some properties
@param {Object} dst an object to receive copes of the properties
@return returns the dst object.
Copies all the src properties to the dst