mirror of https://github.com/perkeep/perkeep.git
12 lines
187 B
JavaScript
12 lines
187 B
JavaScript
|
/**
|
||
|
* Object related utilities beyond what exist in Closure.
|
||
|
*/
|
||
|
goog.provide('object');
|
||
|
|
||
|
function extend(o, n) {
|
||
|
var obj = {};
|
||
|
goog.mixin(obj, o);
|
||
|
goog.mixin(obj, n);
|
||
|
return obj;
|
||
|
}
|