/** * Detect Electron renderer process, which is node, but we should * treat as a browser. */ if (typeof process === 'undefined' || process.type === 'renderer') { module.exports = require('./browser.js'); } else { module.exports = require('./node.js'); }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
browser.js | File | 5.57 KB | 0644 |
|
debug.js | File | 4.77 KB | 0644 |
|
index.js | File | 263 B | 0644 |
|
node.js | File | 4.24 KB | 0644 |
|