website icon indicating copy to clipboard operation
website copied to clipboard

"Try it out" not working on IE11

Open darkylmnx opened this issue 7 years ago • 7 comments

On the website, the page "try it out" does not work on IE11

http://babeljs.io/repl/

image

darkylmnx avatar Apr 16 '18 13:04 darkylmnx

Yeah Promise is not available on IE11. We should probably use babel-preset-env, and more likely on the new website.

xtuc avatar Apr 16 '18 13:04 xtuc

Same issue as https://github.com/babel/babel/issues/7607 I believe, we aren't using transform runtime with babel-standalone or we should add babel-polyfill to the site.

hzoo avatar Apr 17 '18 12:04 hzoo

I'm currently working on the fix. Its pretty trivial for the old site but in the new site there is another error arise:

Object doesn't support property or method 'forEach'

Which is forEach method of NodeList.
The work on polyfill for this is in progress: https://github.com/zloirock/core-js/pull/325

UPD: Its being used for code block buttons and doesn't actually break REPL page.

RusinovAnton avatar May 22 '18 17:05 RusinovAnton

Should be ok

hzoo avatar Jun 12 '18 14:06 hzoo

Does not work; getting same error. IE 11.

CoeJoder avatar Feb 05 '19 05:02 CoeJoder

Try it out doesn't work, I get the same error in Chrome Canary Version 74.0.3698.0 (Official Build) canary (64-bit) and Chrome Version 72.0.3626.96 (Official Build) (64-bit)

ghost avatar Feb 09 '19 05:02 ghost

I believe this issue should be reopened. Currently, loading the "Try it out" page in IE11 yields a blank page (apart from the header) and these console errors:

Screen Shot 2019-11-27 at 9 41 42 AM

TrevorBurnham avatar Nov 27 '19 14:11 TrevorBurnham