Skip to content

Conversation

@DanTup
Copy link
Contributor

@DanTup DanTup commented Apr 16, 2019

There's some JS that checks whether ES6 classes are supported (I think it's a pre-req for latest dart2js, and IE doesn't support that), and redirects to a really bare-bones "unsupported page".

Untitled

Also tweaked the message shown in Edge since it categorises Edge as IE and the message is a bit confusing. It's now just called "an supported browser".

edge

Fixes #66.

Copy link
Member

@kenzieschmoll kenzieschmoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with one nit.


if (!browser.isChrome) {
final browserName =
// Edge shows up as IE, so we replace it's name too to avoid confusion.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: remove 'too'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, must be a bug in my keyboard 😄

Thanks!

@kenzieschmoll
Copy link
Member

Landing this so it will make the 0.0.15 release.

@kenzieschmoll kenzieschmoll merged commit 786cb33 into flutter:master Apr 16, 2019
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.

P1: Display a warning message if an unsupported browser is used.

2 participants