Sha256: 371b22bf9e5460e2d456f45cf104999406fa411d82ae09bb939fc6d5ca6865da

Contents?: true

Size: 326 Bytes

Versions: 19

Compression:

Stored size: 326 Bytes

Contents

import { detect } from 'detect-browser';
import config from '../config';

const incompatibleList = config.get('compatibility.incompatibleBrowsers', []);
const browser = detect();
const name = browser ? browser.name : 'unknown';
const isCompatible = browser && incompatibleList.indexOf(name) < 0;

export default isCompatible;

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
coprl-3.0.0.beta.12 views/mdc/assets/js/utils/compatibility.js
coprl-3.0.0.beta.11 views/mdc/assets/js/utils/compatibility.js
coprl-3.0.0.beta.10 views/mdc/assets/js/utils/compatibility.js
coprl-3.0.0.beta.9 views/mdc/assets/js/utils/compatibility.js
coprl-3.0.0.beta.8 views/mdc/assets/js/utils/compatibility.js
coprl-3.0.0.beta.7 views/mdc/assets/js/utils/compatibility.js
coprl-3.0.0.beta.6 views/mdc/assets/js/utils/compatibility.js
coprl-3.0.0.beta.5 views/mdc/assets/js/utils/compatibility.js
voom-presenters-2.1.2 views/mdc/assets/js/utils/compatibility.js
coprl-3.0.0.beta.4 views/mdc/assets/js/utils/compatibility.js
coprl-3.0.0.beta.3 views/mdc/assets/js/utils/compatibility.js
coprl-3.0.0.beta.2 views/mdc/assets/js/utils/compatibility.js
coprl-3.0.0.beta.1 views/mdc/assets/js/utils/compatibility.js
voom-presenters-2.1.0 views/mdc/assets/js/utils/compatibility.js
voom-presenters-2.0.3 views/mdc/assets/js/utils/compatibility.js
voom-presenters-2.0.2 views/mdc/assets/js/utils/compatibility.js
voom-presenters-2.0.1 views/mdc/assets/js/utils/compatibility.js
voom-presenters-2.0.0 views/mdc/assets/js/utils/compatibility.js
voom-presenters-0.2.0 views/mdc/assets/js/utils/compatibility.js