zipcelx icon indicating copy to clipboard operation
zipcelx copied to clipboard

IE11 parse erroe with standalone.js

Open RaulPampliegaMayoral opened this issue 6 years ago • 4 comments

Hi all. I'm trying to use the standalone version, but when I try to use it with ie11 tell me that an error occurred parsing the file. Do you know if there are any problem with this browser?

RaulPampliegaMayoral avatar Jun 03 '19 19:06 RaulPampliegaMayoral

It's supposed to be supported by IE11. Unfortunately I didn't introduce the standalone build, so I've never used it myself. Feel free to PR any fix needed!

egeriis avatar Jun 11 '19 10:06 egeriis

Hi @egeriis Luckily with microsoft edge the library is working. This gives me some time to look at the problem. Asap i know something i'll make a pr.

Thanks

RaulPampliegaMayoral avatar Jun 11 '19 13:06 RaulPampliegaMayoral

Not sure if this is related, but I was getting a syntax error that pointed to: "var oh = e => e.filename". That seemed to cause an error that prevented other JS (specifically, Highcharts) from working in IE 11, but was fine in Edge and other browsers.

andileco avatar Oct 01 '19 03:10 andileco

Running into this issue too. I think the standalone JS build needs to be run through a tool such as Babel to transform the code into something that is "IE friendly". I'm seeing modern JS features such as const and arrow functions that aren't supported in IE.

Edit: Just noticed that this is stated in the docs "you are responsible for transpiling zipcelx for whatever target is relevant for your app"

ianchouinard avatar Jan 09 '20 14:01 ianchouinard