This repository has been archived by the owner on Mar 30, 2022. It is now read-only.
Made small change to make it works with node 0.6.x #36
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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")
+var Manager = require("./ws/manager")