23 lines
702 B
JavaScript
23 lines
702 B
JavaScript
// tw: If the browser can parse the JS we generate, we support it.
|
|
|
|
/**
|
|
* Helper function to determine if the browser is supported at all.
|
|
* @returns {boolean} False if the platform is definitely not supported.
|
|
*/
|
|
const supportedBrowser = () => true;
|
|
|
|
/**
|
|
* Helper function to determine if the browser meets the minimum recommended version
|
|
* @returns {boolean} False if the browser isn't a recommended browser, or doesn't
|
|
* meet the minimum version for recommended browsers.
|
|
* NOTE: uses strict_mode==true so that any browser not listed in the minVersions
|
|
* always returns false
|
|
*/
|
|
|
|
const recommendedBrowser = () => true;
|
|
|
|
export {
|
|
supportedBrowser as default,
|
|
recommendedBrowser
|
|
};
|