geotrigger.js
function(target, obj){
      for (var attr in obj) {
        if(obj.hasOwnProperty(attr)){
          target[attr] = obj[attr];
        }
      }
      return target;
    }
function(target, obj){
      for (var attr in obj) {
        if(obj.hasOwnProperty(attr)){
          target[attr] = obj[attr];
        }
      }
      return target;
    }
function ( target , obj ) { for ( var attr in obj ) { if ( obj . hasOwnProperty ( attr ) ) { target [ attr ] = obj [ attr ] ; } } return target ; }
Merge Object 1 and Object 2. Properties from Object 2 will override properties in Object 1. Returns Object 1
Merge Object 1 and Object 2 . Properties from Object 2 will override properties in Object 1 . Returns Object 1