Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rename websocket.js to websockets.js.

  • Loading branch information...
commit 28bb78adde1bd7cd947d145ce760d0c9a1a923ee 1 parent 29e9694
Peter Griess authored
2  examples/client-unix.js
View
@@ -1,5 +1,5 @@
var sys = require('sys');
-var WebSocket = require('websocket').WebSocket;
+var WebSocket = require('websockets').WebSocket;
var ws = new WebSocket('ws+unix://' + process.argv[2], 'boffo');
2  examples/client.js
View
@@ -1,5 +1,5 @@
var sys = require('sys');
-var WebSocket = require('websocket').WebSocket;
+var WebSocket = require('websockets').WebSocket;
var ws = new WebSocket('ws://localhost:8000/biff', 'borf');
ws.addListener('data', function(buf) {
0  lib/websocket.js → lib/websockets.js
View
File renamed without changes
2  test/test-basic.js
View
@@ -2,7 +2,7 @@
// shut down cleanly.
var assert = require('assert');
-var WebSocket = require('websocket').WebSocket;
+var WebSocket = require('websockets').WebSocket;
var WebSocketServer = require('ws').Server;
var PORT = 1024 + Math.floor(Math.random() * 4096);
2  test/test-readonly-attrs.js
View
@@ -2,7 +2,7 @@
var assert = require('assert');
var sys = require('sys');
-var WebSocket = require('websocket').WebSocket;
+var WebSocket = require('websockets').WebSocket;
var WebSocketServer = require('ws').Server;
var PORT = 1024 + Math.floor(Math.random() * 4096);
2  test/test-ready-state.js
View
@@ -1,7 +1,7 @@
// Verify that readyState transitions are implemented correctly
var assert = require('assert');
-var WebSocket = require('websocket').WebSocket;
+var WebSocket = require('websockets').WebSocket;
var WebSocketServer = require('ws').Server;
var PORT = 1024 + Math.floor(Math.random() * 4096);
2  test/test-unix-send-fd.js
View
@@ -5,7 +5,7 @@ var assert = require('assert');
var fs = require('fs');
var path = require('path');
var sys = require('sys');
-var WebSocket = require('websocket').WebSocket;
+var WebSocket = require('websockets').WebSocket;
var WebSocketServer = require('ws').Server;
var PATH = path.join(__dirname, 'sock.' + process.pid);
2  test/test-unix-sockets.js
View
@@ -4,7 +4,7 @@ var assert = require('assert');
var fs = require('fs');
var path = require('path');
var sys = require('sys');
-var WebSocket = require('websocket').WebSocket;
+var WebSocket = require('websockets').WebSocket;
var WebSocketServer = require('ws').Server;
var PATH = path.join(__dirname, 'sock.' + process.pid);
Please sign in to comment.
Something went wrong with that request. Please try again.