Skip to content

Instantly share code, notes, and snippets.

View sergey-pronin's full-sized avatar
👻

Sergey Pronin sergey-pronin

👻
  • getCurrentPosition();
View GitHub Profile
var merge = function(target, source) {
for(var attr in source) {
if(typeof(target[attr]) === "object" && typeof(source[attr]) === "object") {
merge(target[attr], source[attr]);
} else {
target[attr] = source[attr];
}
}
return target;
};

Keybase proof

I hereby claim:

  • I am sergey-pronin on github.
  • I am pronin (https://keybase.io/pronin) on keybase.
  • I have a public key ASDm1cwKGf1zVp3Hta_8snQ0_Q8mW-B2CkIlbAW8JxK7eQo

To claim this, I am signing this object: