lib/main.js
function Insert(dst,src) {
  for (var id in src) {if (src.hasOwnProperty(id)) {
    // allow for concatenation of arrays?
    if (typeof src[id] === 'object' && !(src[id] instanceof Array) &&
       (typeof dst[id] === 'object' || typeof dst[id] === 'function'))
         {Insert(dst[id],src[id])} else {dst[id] = src[id]}
  }}
  return dst;
}
function Insert(dst,src) {
  for (var id in src) {if (src.hasOwnProperty(id)) {
    // allow for concatenation of arrays?
    if (typeof src[id] === 'object' && !(src[id] instanceof Array) &&
       (typeof dst[id] === 'object' || typeof dst[id] === 'function'))
         {Insert(dst[id],src[id])} else {dst[id] = src[id]}
  }}
  return dst;
}
function Insert ( dst , src ) { for ( var id in src ) { if ( src . hasOwnProperty ( id ) ) { // allow for concatenation of arrays? if ( typeof src [ id ] === 'object' && ! ( src [ id ] instanceof Array ) && ( typeof dst [ id ] === 'object' || typeof dst [ id ] === 'function' ) ) { Insert ( dst [ id ] , src [ id ] ) } else { dst [ id ] = src [ id ] } } } return dst ; }
Insert one objects into another
Insert one objects into another