all your semi-colons are belongs to me

This commit is contained in:
psychobunny
2014-10-08 12:18:32 -04:00
parent f4b5090738
commit 729ed6fbda
5 changed files with 6 additions and 6 deletions

View File

@@ -208,7 +208,7 @@ adminController.plugins.get = function(req, res, next) {
res.render('admin/extend/plugins' , {
plugins: plugins
});
})
});
};
adminController.languages.get = function(req, res, next) {
@@ -342,6 +342,6 @@ adminController.themes.get = function(req, res, next) {
return next();
}
});
}
};
module.exports = adminController;

View File

@@ -43,7 +43,7 @@ module.exports = function(Meta) {
// Minor adjustments for API output
configObj.type = 'local';
if (configObj.screenshot) {
configObj.screenshot_url = nconf.get('relative_path') + '/css/previews/' + configObj.id
configObj.screenshot_url = nconf.get('relative_path') + '/css/previews/' + configObj.id;
} else {
configObj.screenshot_url = nconf.get('relative_path') + '/images/themes/default.png';
}

View File

@@ -91,7 +91,7 @@ Sockets.init = function(server) {
redisClient : client
});
} else if (nconf.get('cluster')) {
winston.warn('[socket.io] Clustering detected, you are advised to configure Redis as a websocket store.')
winston.warn('[socket.io] Clustering detected, you are advised to configure Redis as a websocket store.');
}
io = socketioWildcard(SocketIO).listen(server, config);

View File

@@ -200,7 +200,7 @@ SocketUser.uploadProfileImageFromUrl = function(socket, url, callback) {
callback(err, image.url);
});
});
}
};
SocketUser.follow = function(socket, data, callback) {
if (!socket.uid || !data) {

View File

@@ -49,5 +49,5 @@ module.exports = function(User) {
async.apply(db.delete, 'loginAttempts:' + uid),
async.apply(db.delete, 'lockout:' + uid)
], callback);
}
};
};