Skip to content

Commit

Permalink
fix isFunction bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyu33333 committed Mar 8, 2016
1 parent 667de62 commit bce013c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/itoolkit.js
Original file line number Diff line number Diff line change
Expand Up @@ -1571,7 +1571,7 @@ var utils = {

isType: function (type) {
return function (obj) {
return toString.call(obj) === '[object ' + type + ']';
return Object.prototype.toString.call(obj) === '[object ' + type + ']';
}
},

Expand Down
Loading

0 comments on commit bce013c

Please sign in to comment.