Skip to content

Commit

Permalink
1.2.1 - use safe array checking
Browse files Browse the repository at this point in the history
  • Loading branch information
max-mapper committed Dec 2, 2013
1 parent b84ff89 commit 1e7932e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ ConcatStream.prototype.arrayConcat = function(arrs) {
}

ConcatStream.prototype.isArray = function(arr) {
return Array.isArray(arr)
return Object.prototype.toString.call(arr) == '[object Array]'
}

ConcatStream.prototype.getBody = function () {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"util",
"utility"
],
"version": "1.2.0",
"version": "1.2.1",
"author": "Max Ogden <max@maxogden.com>",
"repository": {
"type": "git",
Expand Down

0 comments on commit 1e7932e

Please sign in to comment.