pgriess / node-webworker

A WebWorkers implementation for NodeJS
BSD 3-Clause "New" or "Revised" License
646 stars 84 forks source link

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

Open francisl opened 12 years ago

francisl commented 12 years ago

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