Permalink
Browse files

Removed global leak

  • Loading branch information...
1 parent 7beba0f commit bf2b90253057c949ad11664604dff158c011b071 @1602 committed Feb 13, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/railway_routes.js
@@ -462,6 +462,7 @@ Map.prototype.subroutes = function (name, subroutes) {
* });
*/
Map.prototype.addRoutes = function (path, customBridge) {
+ var bridge;
var map = this;
var routes = require(path);
routes = routes.routes || routes;

0 comments on commit bf2b902

Please sign in to comment.