Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Made small change to make it works with node 0.6.x #36

wants to merge 1 commit into from

Conversation

francisl
Copy link

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");

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant