linting webserver.js

This commit is contained in:
Julian Lam
2013-11-11 13:25:54 -05:00
parent 4e39c50144
commit 9bea23bbfe
2 changed files with 108 additions and 54 deletions

View File

@@ -67,8 +67,11 @@ Upgrade.upgrade = function() {
var multi = RDB.multi();
keys = keys.filter(function(key) {
if (key === 'notifications:next_nid') return false;
else return true;
if (key === 'notifications:next_nid') {
return false;
} else {
return true;
}
}).map(function(key) {
return key.slice(14);
});