Skip to content

Conversation

@mhuggins
Copy link
Contributor

@mhuggins mhuggins commented Mar 22, 2019

IE11 throws an error due to the object literal, arrow function, and string interpolation syntax used by browser.js. This fixes those usages so that the canvas package can run properly.

Screen Shot 2019-03-22 at 11 01 09 AM

I tested these changes locally by directly applying these changes within my project's node_modules folder, and it fixed all IE errors, allowing the page to load.

  • Have you updated CHANGELOG.md?

@mhuggins mhuggins force-pushed the browser-ie11-syntax branch from bd09049 to 995d2bd Compare March 22, 2019 16:16
@mhuggins mhuggins changed the title Fix object literal syntax usage for IE Fix ES6 syntax usage for IE Mar 22, 2019
@mhuggins mhuggins force-pushed the browser-ie11-syntax branch 3 times, most recently from 9dae8e6 to 34d034c Compare March 22, 2019 16:23
@zbjornson zbjornson mentioned this pull request Apr 24, 2019
1 task
@mhuggins mhuggins force-pushed the browser-ie11-syntax branch from 34d034c to 57d17fc Compare April 28, 2019 03:39
@mhuggins
Copy link
Contributor Author

@zbjornson I fixed the quote issue that was called out and rebased against master.

@LinusU LinusU merged commit a9bf89c into Automattic:master May 1, 2019
@LinusU
Copy link
Collaborator

LinusU commented May 1, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants