0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2025-01-31 18:14:55 -05:00

Fixed Common.isString on IE

This commit is contained in:
Michael de Hoog 2016-11-04 13:21:11 +10:00
parent 5a12f56067
commit 186a38535f

View file

@ -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]';
};
/**