flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
10
BACK_BACK/node_modules/form-data/lib/populate.js
generated
vendored
Executable file
10
BACK_BACK/node_modules/form-data/lib/populate.js
generated
vendored
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
// populates missing values
|
||||
module.exports = function(dst, src) {
|
||||
|
||||
Object.keys(src).forEach(function(prop)
|
||||
{
|
||||
dst[prop] = dst[prop] || src[prop];
|
||||
});
|
||||
|
||||
return dst;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue