审查视图

public/assets/libs/bootstrap/grunt/browsers.js 1.6 KB
王智 authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
// jscs:disable requireCamelCaseOrUpperCaseIdentifiers

var browsers = {
  safariMac: {
    base: 'BrowserStack',
    os: 'OS X',
    os_version: 'Yosemite',
    browser: 'Safari',
    browser_version: '8.0'
  },
  chromeMac: {
    base: 'BrowserStack',
    os: 'OS X',
    os_version: 'Yosemite',
    browser : 'Chrome',
    browser_version : 'latest'
  },
  firefoxMac: {
    base: 'BrowserStack',
    os: 'OS X',
    os_version: 'Yosemite',
    browser: 'Firefox',
    browser_version: 'latest'
  },
  'ie11Win8.1': {
    base: 'BrowserStack',
    os: 'Windows',
    os_version: '8.1',
    browser: 'IE',
    browser_version: '11.0'
  },
  ie10Win8: {
    base: 'BrowserStack',
    os: 'Windows',
    os_version: '8',
    browser: 'IE',
    browser_version: '10.0'
  },
  ie9Win7: {
    base: 'BrowserStack',
    os: 'Windows',
    os_version: '7',
    browser: 'IE',
    browser_version: '9.0'
  },
  ie8Win7: {
    base: 'BrowserStack',
    os: 'Windows',
    os_version: '7',
    browser: 'IE',
    browser_version: '8.0'
  },
  'chromeWin8.1': {
    base: 'BrowserStack',
    os: 'Windows',
    os_version: '8.1',
    browser: 'Chrome',
    browser_version: 'latest'
  },
  'firefoxWin8.1': {
    base: 'BrowserStack',
    os: 'Windows',
    os_version: '8.1',
    browser: 'Firefox',
    browser_version: 'latest'
  },
  iphone6: {
    base: 'BrowserStack',
    os: 'ios',
    os_version: '11.2',
    device: 'iPhone 6',
    real_mobile: true
  },
  nexus5: {
    base: 'BrowserStack',
    os: 'android',
    os_version: '4.4',
    device: 'Google Nexus 5',
    real_mobile: true
  }
};

module.exports = {
  list: browsers,
  keys: Object.keys(browsers)
};