Comparing version 0.0.1 to 0.0.2
@@ -57,3 +57,9 @@ | ||
if (typeof api === 'object') { | ||
Object.keys(api). | ||
// we want the full proto chain | ||
var keys = [], key; | ||
for (key in api) { | ||
keys.push(key); | ||
} | ||
keys. | ||
reduce(function (newObj, prop) { | ||
@@ -60,0 +66,0 @@ newObj[prop] = doubleOhSeven(api[prop]); |
{ | ||
"name": "007", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Returns a deep copy of an object with all functions converted to spies", | ||
@@ -5,0 +5,0 @@ "main": "007.js", |
4389
80