Permalink
Browse files

Rename websocket.js to websockets.js.

  • Loading branch information...
1 parent 29e9694 commit 28bb78adde1bd7cd947d145ce760d0c9a1a923ee @pgriess committed Jun 29, 2010
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');
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) {
File renamed without changes.
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,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);
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);
@@ -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);
@@ -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);

0 comments on commit 28bb78a

Please sign in to comment.