You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@mayank-Vostro-460# cd wikistream
root@mayank-Vostro-460:~/wikistream# gedit node_modules/policyfile/lib/server.js
"gedit node_modules/policyfile/lib/server.js"
/New code,/
/**
Proxy the event listener requests to the created Net server
*/ var EventEmitter = require('events');
Object.keys(EventEmitter.prototype).forEach(function proxy (key){
Server.prototype[key] = Server.prototype[key] || function () {
if (this.socket) {
this.socket[key].apply(this.socket, arguments);
}
return this;
};
});
/******* old code*************/
/**
Proxy the event listener requests to the created Net server
*/
Object.keys(process.EventEmitter.prototype).forEach(function proxy (key){
Server.prototype[key] = Server.prototype[key] || function () {
if (this.socket) {
this.socket[key].apply(this.socket, arguments);
}
return this;
};
});
The text was updated successfully, but these errors were encountered:
root@mayank-Vostro-460# cd wikistream
root@mayank-Vostro-460:~/wikistream# gedit node_modules/policyfile/lib/server.js
"gedit node_modules/policyfile/lib/server.js"
/New code,/
/**
Proxy the event listener requests to the created Net server
*/
var EventEmitter = require('events');
Object.keys(EventEmitter.prototype).forEach(function proxy (key){
Server.prototype[key] = Server.prototype[key] || function () {
if (this.socket) {
this.socket[key].apply(this.socket, arguments);
}
return this;
};
});
/******* old code*************/
/**
Proxy the event listener requests to the created Net server
*/
Object.keys(process.EventEmitter.prototype).forEach(function proxy (key){
Server.prototype[key] = Server.prototype[key] || function () {
if (this.socket) {
this.socket[key].apply(this.socket, arguments);
}
return this;
};
});
The text was updated successfully, but these errors were encountered: