审查视图

public/assets/libs/jcrop/node_modules/form-data/lib/populate.js 177 字节
景龙 authored
1 2 3 4 5 6 7 8 9 10
// populates missing values
module.exports = function(dst, src) {

  Object.keys(src).forEach(function(prop)
  {
    dst[prop] = dst[prop] || src[prop];
  });

  return dst;
};