forked from daren.hsu/line_push
update
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
* treat as a browser.
|
||||
*/
|
||||
|
||||
if (typeof process === 'undefined' || process.type === 'renderer') {
|
||||
if (typeof process !== 'undefined' && process.type === 'renderer') {
|
||||
module.exports = require('./browser.js');
|
||||
} else {
|
||||
module.exports = require('./node.js');
|
||||
|
||||
Reference in New Issue
Block a user