From c27b9d0810650c2203ebdd0511bd1966e2ca3e8c Mon Sep 17 00:00:00 2001 From: Simon Bartlett Date: Sun, 4 Oct 2015 23:39:16 -0400 Subject: [PATCH] Fixed lint errors --- server/web/login/index.js | 3 +-- server/web/room/game.js | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/server/web/login/index.js b/server/web/login/index.js index f01e414..910a787 100644 --- a/server/web/login/index.js +++ b/server/web/login/index.js @@ -118,8 +118,7 @@ exports.register = function(server, options, next) { var ip = request.info.remoteAddress; var username = request.payload.username; - AuthAttempt.create({ ip: ip, username: username}, - function(err) { + AuthAttempt.create({ ip: ip, username: username}, function(err) { if (err) { return reply(err); } diff --git a/server/web/room/game.js b/server/web/room/game.js index 7176328..d17f80a 100644 --- a/server/web/room/game.js +++ b/server/web/room/game.js @@ -13,8 +13,8 @@ $.get('/tilesets/modern.json', function(tileset) { var socket = io(); var emitterQueue = new EmitterQueue(socket); var factory = new Factory({ - tileset: tileset - }); + tileset: tileset + }); var gameCoordinator = new GameCoordinator(emitterQueue); var client = new Client({