array-indexer
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -8,3 +8,3 @@ module.exports = index; | ||
if (this.constructor.name == 'Array') { | ||
if (this && this.constructor.name == 'Array') { | ||
fieldList = array; | ||
@@ -11,0 +11,0 @@ array = this; |
{ | ||
"name": "array-indexer", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Create indexes based on arrays of objects", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "nodeunit test.js" | ||
}, | ||
"repository": { | ||
@@ -19,6 +22,3 @@ "type": "git", | ||
"nodeunit": "^0.11.3" | ||
}, | ||
"scripts": { | ||
"test": "nodeunit test.js" | ||
} | ||
} | ||
} |
11647