Skip to content

Commit

Permalink
Merge pull request #7 from Expensify/tgolen-initial-code
Browse files Browse the repository at this point in the history
Fix IE11 incompatability with isTypeOf()
  • Loading branch information
fnwbr committed May 10, 2016
2 parents a672fc6 + 5a7da48 commit eb7a286
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/str.js
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ module.exports = {
* @return {Boolean}
*/
isTypeOf(obj, type) {
return toString.call(obj) === `[object ${type}]`;
return Object.prototype.toString.call(obj) === `[object ${type}]`;
},

/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "js-libs",
"version": "1.1.1",
"version": "1.1.2",
"description": "JavaScript libraries that are shared across different repos",
"main": "index.js",
"license": "UNLICENSED",
Expand Down

0 comments on commit eb7a286

Please sign in to comment.