Open dimaslz opened 7 years ago
Written this, I take the solution. xd
@dimaslz what was your solution?
prototype.js is obsolete, but I still want the es6-shim to work with it.
@ljharb Yes, I know that is obsolete, but is a special case.
So the solution, I used babel-polyfill and works properly. With es6-shim I have problem, I don't know way. But don't care, will improve a lot thing soon.
Thanks!
@dimaslz could you provide me with a jsfiddle that reproduces the problem?
Hi, I have a problem with es6-shim when is using prototype.js.
Basically the code is a widget that is injecting in the website. I using es6-shim to fix a compatibility with IE11, but we have a client that is using prototype.js 1.7 https://ajax.googleapis.com/ajax/libs/prototype/1.7.0/prototype.js in the site and we have a conflict:
To do this widget, we are using https://github.com/KoryNunn/crel to create the html and next minify in only one file.
If I use "es6-shim", the widget works in all browsers, but If I remove the "es6-shim" the the script do not work in IE11, but if we use "es6-shim" and in the site is using prototype.js, the script do not work in any browser.
I test with last version of prototype.js (1.7.3.0) https://ajax.googleapis.com/ajax/libs/prototype/1.7.3.0/prototype.js and there another error:![screen shot 2017-04-24 at 11 22 27](https://cloud.githubusercontent.com/assets/1536936/25330567/60abfe76-28e0-11e7-9546-1d4f7684a4e7.png)
But only I need to solve for 1.7!
Can you help me with some tip?, I wish to know some opinion.
Thanks you community!