Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
10 lines
No EOL
291 B
JavaScript
10 lines
No EOL
291 B
JavaScript
define([], function () {
|
|
return function mix(target, source, override) {
|
|
Object.keys(source).forEach(function (key) {
|
|
if (!target.hasOwnProperty(key) || override) {
|
|
target[key] = source[key];
|
|
}
|
|
});
|
|
return target;
|
|
};
|
|
}); |