Add eslint task. Needs eslintrc tweaking.

This commit is contained in:
Gunther Brunner
2016-01-14 21:20:54 +09:00
parent 4d0983a80f
commit 466af18058
5 changed files with 27 additions and 3 deletions

View File

@@ -320,7 +320,7 @@ dbapi.saveUserAccessToken = function(email, token) {
dbapi.removeUserAccessToken = function(email, title) {
return db.run(r.table('accessTokens').getAll(email, {
index: 'email'
}).filter({"title": title}).delete())
}).filter({'title': title}).delete())
}
dbapi.loadAccessTokens = function(email) {

View File

@@ -26,7 +26,7 @@ module.exports.readAll = function(stream) {
}
function readableListener() {
var chunk;
var chunk
while ((chunk = stream.read())) {
collected = Buffer.concat([collected, chunk])
}