We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 798737a + 5c22e37 commit 0d38301Copy full SHA for 0d38301
TcpSocket.js
@@ -8,7 +8,10 @@
8
9
'use strict';
10
11
-global.process = global.process || require('process'); // needed to make stream-browserify happy
+if(!(global.process && global.process.nextTick)){
12
+ global.process = require('process'); // needed to make stream-browserify happy
13
+}
14
+
15
var Buffer = global.Buffer = global.Buffer || require('buffer').Buffer;
16
17
var util = require('util');
0 commit comments