Skip to content

Commit

Permalink
removing unused param
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmdantas committed Apr 11, 2015
1 parent 4744698 commit 795f08c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion server/config/configurator.es6
Expand Up @@ -6,7 +6,7 @@ import contentLength from 'express-content-length-validator';

export default class RouteConfigurator
{
static init(application, exp, dir)
static init(application, exp)
{
var _root = process.cwd();

Expand Down
2 changes: 1 addition & 1 deletion server/config/configurator.js
Expand Up @@ -31,7 +31,7 @@ var RouteConfigurator = (function () {

_createClass(RouteConfigurator, null, [{
key: 'init',
value: function init(application, exp, dir) {
value: function init(application, exp) {
var _root = process.cwd();

var _folder = process.env !== 'production' ? '__tmp' : 'dist';
Expand Down
2 changes: 1 addition & 1 deletion server/server.es6
Expand Up @@ -15,7 +15,7 @@ import os from 'os';
const server = app.listen(port);
var io = require('socket.io').listen(server);

RouteConfigurator.init(app, express, __dirname);
RouteConfigurator.init(app, express);
DBaseConfig.init();
Routes.init(app, express.Router());
SocketEvents.init(io);
Expand Down
2 changes: 1 addition & 1 deletion server/server.js
Expand Up @@ -34,7 +34,7 @@ var port = process.env.PORT || 3333;
var server = app.listen(port);
var io = require('socket.io').listen(server);

_RouteConfigurator2['default'].init(app, _express2['default'], __dirname);
_RouteConfigurator2['default'].init(app, _express2['default']);
_DBaseConfig2['default'].init();
_Routes2['default'].init(app, _express2['default'].Router());
_SocketEvents2['default'].init(io);
Expand Down

0 comments on commit 795f08c

Please sign in to comment.