Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.js 263B

12345678910
  1. /**
  2. * Detect Electron renderer process, which is node, but we should
  3. * treat as a browser.
  4. */
  5. if (typeof process !== 'undefined' && process.type === 'renderer') {
  6. module.exports = require('./browser.js');
  7. } else {
  8. module.exports = require('./node.js');
  9. }