Skip to content

Commit

Permalink
Merge pull request #6 from pygy/patch-1
Browse files Browse the repository at this point in the history
Small cleanup in demoRoute.js
  • Loading branch information
davisford committed Oct 22, 2013
2 parents fa3fbd5 + a939677 commit 26f92e1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions server/routes/demoRoute.js
Expand Up @@ -14,9 +14,6 @@ console.log(mw);
*/
var route = (function () {

// socketstream obj
var ss;

return {

/**
Expand All @@ -28,6 +25,7 @@ var route = (function () {
*/
init: function (app, ss) {

// socketstream obj
this.ss = ss;

// add standard express 3.0 routes here
Expand All @@ -49,4 +47,4 @@ var route = (function () {

}());

module.exports = route;
module.exports = route;

0 comments on commit 26f92e1

Please sign in to comment.