pgriess/node-webworker — pull request #36 by francisl (2011-11-23 23:37:10+00:00)
Title: Made small change to make it works with node 0.6.x

ndex 8432afe..f780191 100644
--- a/lib/webworker.js
+++ b/lib/webworker.js
@@ -32,7 +32,7 @@ var assert = require('assert');
var child_process = require('child_process');
var fs = require('fs');
var net = require('net');
-var netBinding = process.binding('net');
+//var netBinding = process.binding('net');
var path = require('path');
var sys = require('sys');
var wwutil = require('./webworker-util');
diff --git a/lib/ws.js b/lib/ws.js
index 790f90a..51a9829 100644
--- a/lib/ws.js
+++ b/lib/ws.js
@@ -11,10 +11,10 @@ var sys = require("sys")
, path = require("path");

// Local
-require.paths.unshift(__dirname);
+//require.paths.unshift(__dirname);

-var Manager = require("ws/manager")
- , Connection = require("ws/connection");
+var Manager = require("./ws/manager")
+ , Connection = require("./ws/connection");