export default {
  isDarwin: process.platform === 'darwin',
  isNonDarwin: process.platform !== 'darwin',
  isWindows: process.platform === 'win32',
  isLinux: process.platform === 'linux',
  isWindows7: process.platform === 'win32' &&
    navigator && !!navigator.userAgent.match(/(Windows 7|Windows NT 6\.1)/)
};

export default {
  isDarwin: process.platform === 'darwin',
  isNonDarwin: process.platform !== 'darwin',
  isWindows: process.platform === 'win32',
  isLinux: process.platform === 'linux',
  isWindows7: process.platform === 'win32' && window.navigator &&
    !!window.navigator.userAgent.match(/(Windows 7|Windows NT 6\.1)/)
};

Fix detection of Windows 7
Fix detection of Windows 7
