Sha256: 387f5bdf7ee643b06ac7a48f3993ed449689ba8f1bbf07e41cd8f70823dbe727
Contents?: true
Size: 484 Bytes
Versions: 69
Compression:
Stored size: 484 Bytes
Contents
define(['../array/forEach', '../array/slice', './forOwn'], function (forEach, slice, forOwn) { /** * Copy missing properties in the obj from the defaults. */ function fillIn(obj, var_defaults){ forEach(slice(arguments, 1), function(base){ forOwn(base, function(val, key){ if (obj[key] == null) { obj[key] = val; } }); }); return obj; } return fillIn; });
Version data entries
69 entries across 69 versions & 2 rubygems