mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2025-04-11 00:13:16 -07:00
- `example/proxy` is new folder for `example_proxy`. - `riven` is new folder for the main riven lib. - Updated metadata to be an array and include HTTP method.
10 lines
177 B
JavaScript
10 lines
177 B
JavaScript
// populates missing values
|
|
module.exports = function(dst, src) {
|
|
|
|
Object.keys(src).forEach(function(prop)
|
|
{
|
|
dst[prop] = dst[prop] || src[prop];
|
|
});
|
|
|
|
return dst;
|
|
};
|