Merge pull request #4296 from LLK/revert-4287-issue/unsupported-versions

Revert "Check for minimum versions of recommended browsers"
This commit is contained in:
Paul Kaplan authored and GitHub committed 2019-01-08 16:10:44 -05:00
commit 123b0a6881
2 files changed
+3 -11

No files matched your search

@@ -32,7 +32,7 @@ const BrowserModal = ({intl, ...props}) => (
<p>
{ /* eslint-disable max-len */ }
<FormattedMessage
defaultMessage="We are very sorry, but Scratch does not support this browser version. We recommend updating to the latest version of a supported browser such as Google Chrome, Mozilla Firefox, Microsoft Edge, or Apple Safari."
defaultMessage="We are very sorry, but Scratch does not support this browser. We recommend trying a supported browser such as Google Chrome, Mozilla Firefox, Microsoft Edge, or Apple Safari."
description="Unsupported browser description"
id="gui.unsupportedBrowser.description"
/>
+2 -10
View File
@@ -10,14 +10,6 @@ export default function () {
bowser.silk) {
return false;
}
// IMPORTANT: If you change versions here, also change them in www
// minimum versions for recommended browsers
const minVersions = {
chrome: '63',
msedge: '15',
firefox: '57',
safari: '11'
};
// strict mode == false so any browser not mentioned in the min Versions is ok
return bowser.check(minVersions, false);
// @todo Should also test for versions of supported browsers
return true;
}