mix-objects
Advanced tools
Comparing version 0.0.0 to 0.0.1
module.exports = mix; | ||
function mix (target, sources) { | ||
var i = sources.length; | ||
var i = -1; | ||
var len = sources.length; | ||
var key; | ||
while (i--) { | ||
while (++i < len) { | ||
for (key in sources[i]) { | ||
if (target.hasOwnProperty(key)) continue; | ||
target[key] = sources[i][key]; | ||
@@ -10,0 +12,0 @@ } |
{ | ||
"name": "mix-objects", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "Mix specified objects", | ||
@@ -17,7 +17,7 @@ "main": "index.js", | ||
"repository": { | ||
"url": "git@github.com:azer\/mix-objects.git", | ||
"url": "git@github.com:azer/mix-objects.git", | ||
"type": "git" | ||
}, | ||
"author": "Azer Ko\u00e7ulu <azer@kodfabrik.com>", | ||
"author": "Azer Koçulu <azer@kodfabrik.com>", | ||
"license": "BSD" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
986
13