scriptsharp icon indicating copy to clipboard operation
scriptsharp copied to clipboard

IE8 Array.isArray : "Object doesn't support this property or method"

Open Sam7 opened this issue 12 years ago • 2 comments

The ss.js contains two instances (line 787 &1257) where Array.isArray is used wich is not compatible with IE8 and lower.

Solutions: http://stackoverflow.com/questions/1058427/how-to-detect-if-a-variable-is-an-array Or https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray#Compatibility

Sam7 avatar Oct 15 '13 11:10 Sam7

Hey Sam7, there are a few more incompatibilities with IE8 in S# that you may run into rather quickly. On my part I am including es5-shim (also on github) to get compatibility back.

andekande avatar Oct 16 '13 20:10 andekande

Thanks. es5-shim looks like a great solution

Sam7 avatar Oct 17 '13 07:10 Sam7