diff --git a/PixelMania/node_modules/socket.io/lib/manager.js b/PixelMania/node_modules/socket.io/lib/manager.js index 49aaf4da..2466f67e 100755 --- a/PixelMania/node_modules/socket.io/lib/manager.js +++ b/PixelMania/node_modules/socket.io/lib/manager.js @@ -19,7 +19,9 @@ var fs = require('fs') , MemoryStore = require('./stores/memory') , SocketNamespace = require('./namespace') , Static = require('./static') - , EventEmitter = process.EventEmitter; + // EDITING NODE MODULES! + // , EventEmitter = process.EventEmitter + , EventEmitter = require('events'); /** * Export the constructor. diff --git a/PixelMania/node_modules/socket.io/lib/namespace.js b/PixelMania/node_modules/socket.io/lib/namespace.js index d3e581f5..54f6d2a2 100755 --- a/PixelMania/node_modules/socket.io/lib/namespace.js +++ b/PixelMania/node_modules/socket.io/lib/namespace.js @@ -3,7 +3,9 @@ */ var Socket = require('./socket') - , EventEmitter = process.EventEmitter + // EDITING NODE MODULES! + // , EventEmitter = process.EventEmitter + , EventEmitter = require('events') , parser = require('./parser') , util = require('./util'); diff --git a/PixelMania/node_modules/socket.io/lib/socket.js b/PixelMania/node_modules/socket.io/lib/socket.js index 38542f48..e48f3ee9 100755 --- a/PixelMania/node_modules/socket.io/lib/socket.js +++ b/PixelMania/node_modules/socket.io/lib/socket.js @@ -11,7 +11,9 @@ var parser = require('./parser') , util = require('./util') - , EventEmitter = process.EventEmitter + // EDITING NODE MODULES! + // , EventEmitter = process.EventEmitter + , EventEmitter = require('events') /** * Export the constructor. diff --git a/PixelMania/node_modules/socket.io/lib/store.js b/PixelMania/node_modules/socket.io/lib/store.js index 06c0389a..4291a94b 100755 --- a/PixelMania/node_modules/socket.io/lib/store.js +++ b/PixelMania/node_modules/socket.io/lib/store.js @@ -15,7 +15,9 @@ exports = module.exports = Store; * Module dependencies. */ -var EventEmitter = process.EventEmitter; +// EDITING NODE MODULES! +// var EventEmitter = process.EventEmitter; +var EventEmitter = require('events'); /** * Store interface diff --git a/PixelMania/node_modules/socket.io/lib/transports/websocket/default.js b/PixelMania/node_modules/socket.io/lib/transports/websocket/default.js index 524e34e5..b3a6bd1d 100755 --- a/PixelMania/node_modules/socket.io/lib/transports/websocket/default.js +++ b/PixelMania/node_modules/socket.io/lib/transports/websocket/default.js @@ -10,7 +10,9 @@ */ var Transport = require('../../transport') - , EventEmitter = process.EventEmitter + // EDITING NODE MODULES! + // , EventEmitter = process.EventEmitter + , EventEmitter = require('events') , crypto = require('crypto') , parser = require('../../parser'); diff --git a/PixelMania/node_modules/socket.io/lib/transports/websocket/hybi-07-12.js b/PixelMania/node_modules/socket.io/lib/transports/websocket/hybi-07-12.js index 5137d050..10fcc2ff 100755 --- a/PixelMania/node_modules/socket.io/lib/transports/websocket/hybi-07-12.js +++ b/PixelMania/node_modules/socket.io/lib/transports/websocket/hybi-07-12.js @@ -10,7 +10,9 @@ */ var Transport = require('../../transport') - , EventEmitter = process.EventEmitter + // EDITING NODE MODULES! + // , EventEmitter = process.EventEmitter + , EventEmitter = require('events') , crypto = require('crypto') , url = require('url') , parser = require('../../parser') diff --git a/PixelMania/node_modules/socket.io/lib/transports/websocket/hybi-16.js b/PixelMania/node_modules/socket.io/lib/transports/websocket/hybi-16.js index 4c6f1ebf..2d8869aa 100755 --- a/PixelMania/node_modules/socket.io/lib/transports/websocket/hybi-16.js +++ b/PixelMania/node_modules/socket.io/lib/transports/websocket/hybi-16.js @@ -10,7 +10,9 @@ */ var Transport = require('../../transport') - , EventEmitter = process.EventEmitter + // EDITING NODE MODULES! + // , EventEmitter = process.EventEmitter + , EventEmitter = require('events') , crypto = require('crypto') , url = require('url') , parser = require('../../parser')