Skip to content

Commit

Permalink
Fixed lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sibartlett committed Oct 5, 2015
1 parent 994649e commit c27b9d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions server/web/login/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
4 changes: 2 additions & 2 deletions server/web/room/game.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit c27b9d0

Please sign in to comment.