Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Style changes

  • Loading branch information...
commit 3ff45a195e5fce5f4415900031cd9a1eeec9aa19 1 parent 0fb551a
David authored
Showing with 5 additions and 7 deletions.
  1. +5 −7 lib/subway.js
View
12 lib/subway.js
@@ -3,16 +3,14 @@ var irc = require('irc'),
io = require('socket.io');
var Subway = function() {
- var self = this;
- self.app = app;
- self.io = io;
- self.irc = irc;
+ this.app = app;
+ this.io = io;
+ this.irc = irc;
}
Subway.prototype.start = function () {
- var self = this;
- self.app.listen(3000);
- self.io.listen(self.app);
+ this.app.listen(3000);
+ this.io.listen(self.app);
}
exports.subway = new Subway();
Please sign in to comment.
Something went wrong with that request. Please try again.