Comparing version 0.7.0 to 0.7.1
@@ -5,12 +5,14 @@ /** | ||
function clone(obj) { | ||
var key, clone = {}; | ||
if (!obj) return; | ||
var key, copy = {}; | ||
if (!obj) { | ||
return; | ||
} | ||
for (key in obj) { | ||
clone[key] = obj[key]; | ||
copy[key] = obj[key]; | ||
} | ||
return clone; | ||
}; | ||
return copy; | ||
} | ||
module.exports = clone; |
@@ -6,3 +6,5 @@ /** | ||
var plucked = {}; | ||
if (!obj) return; | ||
if (!obj) { | ||
return; | ||
} | ||
@@ -14,4 +16,4 @@ fields.forEach(function (field) { | ||
return plucked; | ||
}; | ||
} | ||
module.exports = pluck; |
{ | ||
"name": "cleaver", | ||
"preferGlobal": true, | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"author": "Jordan Scales <scalesjordan@gmail.com>", | ||
@@ -6,0 +6,0 @@ "description": "30-second slideshows for hackers", |
Sorry, the diff of this file is not supported yet
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
46490
991