FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Drop support for IE and Edge · popcodeorg/popcode@dfd2c50 · GitHub

Commit dfd2c50

Browse files
committed
Drop support for IE and Edge
Since we now rely on the `srcdoc` attribute to render the preview frame, Popcode no longer works in IE or Edge, which don’t support `srcdoc`. Fail fast by displaying a message to that effect, with a link to download Chrome.
1 parent 0fb4ec1 commit dfd2c50

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

‎config/browsers.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"msie": "11",
32
"firefox": "28",
43
"chrome": "30",
54
"safari": "7.1"

‎src/components/Application.jsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class Application extends React.Component {
2323
_isUnsupportedBrowser() {
2424
return bowser.isUnsupportedBrowser(
2525
supportedBrowsers,
26+
true,
2627
window.navigator.userAgent
2728
);
2829
}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL