Skip to content

Commit

Permalink
# blear.utils.collection
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudcome committed May 22, 2016
1 parent c5e2f9f commit d875b35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "blear.utils.collection",
"version": "1.0.2",
"version": "1.0.3",
"description": "集合",
"scripts": {
"live": "browser-sync start --config bs-config.js",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -15,7 +15,7 @@ var makeAccess = function (method) {
return function (obj, callback) {
if (array.like(obj)) {
return array[method](obj, callback);
} else if (typeis.Object(obj)) {
} else if (typeof obj === 'object') {
return object[method](obj, callback);
}

Expand Down

0 comments on commit d875b35

Please sign in to comment.