aboutsummaryrefslogtreecommitdiffstats
path: root/lib/websocket.js
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-06 20:26:51 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-06 20:26:51 +0800
commitaf9242f4cc382a61bea9142ddbd0cec2e1edf08a (patch)
treee08dc7265e59f25057631916684b93b32ac80cd6 /lib/websocket.js
parent1954b878191e08db04188f0934b15ebe8c2c5a84 (diff)
downloadgo-tangerine-af9242f4cc382a61bea9142ddbd0cec2e1edf08a.tar.gz
go-tangerine-af9242f4cc382a61bea9142ddbd0cec2e1edf08a.tar.zst
go-tangerine-af9242f4cc382a61bea9142ddbd0cec2e1edf08a.zip
fixed gulp build
Diffstat (limited to 'lib/websocket.js')
-rw-r--r--lib/websocket.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/websocket.js b/lib/websocket.js
index 24a072531..d50aa1f48 100644
--- a/lib/websocket.js
+++ b/lib/websocket.js
@@ -22,11 +22,9 @@
* @date 2014
*/
-// TODO: work out which of the following two lines it is supposed to be...
-//if (process.env.NODE_ENV !== 'build') {
-if ("build" !== "build") {/*
+if (process.env.NODE_ENV !== 'build') {
var WebSocket = require('ws'); // jshint ignore:line
-*/}
+}
var WebSocketProvider = function(host) {
// onmessage handlers