ESlint object-curly-spacing

This commit is contained in:
Peter Jaszkowiak
2017-02-18 12:30:49 -07:00
parent 1493afee2a
commit 896c8c7343
207 changed files with 971 additions and 971 deletions

View File

@@ -254,7 +254,7 @@ SocketModules.chats.markRead = function (socket, roomId, callback) {
}
Messaging.pushUnreadCount(socket.uid);
server.in('uid_' + socket.uid).emit('event:chats.markedAsRead', {roomId: roomId});
server.in('uid_' + socket.uid).emit('event:chats.markedAsRead', { roomId: roomId });
if (results.uidsInRoom.indexOf(socket.uid.toString()) === -1) {
return callback();
@@ -300,7 +300,7 @@ SocketModules.chats.renameRoom = function (socket, data, callback) {
Messaging.getUidsInRoom(data.roomId, 0, -1, next);
},
function (uids, next) {
var eventData = {roomId: data.roomId, newName: validator.escape(String(data.newName))};
var eventData = { roomId: data.roomId, newName: validator.escape(String(data.newName)) };
uids.forEach(function (uid) {
server.in('uid_' + uid).emit('event:chats.roomRename', eventData);
});