From 186a38535f27b037812c416f2f1ea8df9180a431 Mon Sep 17 00:00:00 2001 From: Michael de Hoog Date: Fri, 4 Nov 2016 13:21:11 +1000 Subject: [PATCH] Fixed Common.isString on IE --- src/core/Common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Common.js b/src/core/Common.js index a740f9a..eddce2a 100644 --- a/src/core/Common.js +++ b/src/core/Common.js @@ -245,7 +245,7 @@ module.exports = Common; * @return {boolean} True if the object is a string, otherwise false */ Common.isString = function(obj) { - return toString.call(obj) === '[object String]'; + return Object.prototype.toString.call(obj) === '[object String]'; }; /**