8dfb188b3d0a67a50455bba9ae8739a494c0df2a80c8fecbe432aa6d32b0094848389eb3479cc1d9997ca0eeca4bf4337df979be4750327f2674b24d7e077a 331 B

123456789101112
  1. "use strict";
  2. /**
  3. * Detect Electron renderer / nwjs process, which is node, but we should
  4. * treat as a browser.
  5. */
  6. if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {
  7. module.exports = require('./browser.js');
  8. } else {
  9. module.exports = require('./node.js');
  10. }