Lots of fixes.
This commit is contained in:
@ -22,9 +22,11 @@
|
||||
* @date 2014
|
||||
*/
|
||||
|
||||
if (process.env.NODE_ENV !== "build") {
|
||||
// TODO: work out which of the following two lines it is supposed to be...
|
||||
//if (process.env.NODE_ENV !== 'build') {
|
||||
if ("build" !== "build") {/*
|
||||
var WebSocket = require('ws'); // jshint ignore:line
|
||||
}
|
||||
*/}
|
||||
|
||||
var WebSocketProvider = function(host) {
|
||||
// onmessage handlers
|
||||
|
Reference in New Issue
Block a user