diff --git a/src/node/easysync_tests.js b/src/node/easysync_tests.js index 374e949fd..371edbd6b 100644 --- a/src/node/easysync_tests.js +++ b/src/node/easysync_tests.js @@ -27,11 +27,11 @@ var AttributePool = require("ep_etherpad-lite/static/js/AttributePool"); function random() { this.nextInt = function (maxValue) { return Math.floor(Math.random() * maxValue); - } + }; this.nextDouble = function (maxValue) { return Math.random(); - } + }; } function runTests() { diff --git a/src/node/padaccess.js b/src/node/padaccess.js index d87809149..373e99121 100644 --- a/src/node/padaccess.js +++ b/src/node/padaccess.js @@ -18,4 +18,4 @@ module.exports = function (req, res, callback) { res.send(403, "403 - Can't touch this"); } }); -} +}; diff --git a/src/node/server.js b/src/node/server.js index db75d7e37..73f72bb35 100755 --- a/src/node/server.js +++ b/src/node/server.js @@ -37,8 +37,8 @@ async.waterfall([ // load npm function(callback) { npm.load({}, function(er) { - callback(er) - }) + callback(er); + }); }, // load everything @@ -59,7 +59,7 @@ async.waterfall([ }, function(callback) { - plugins.update(callback) + plugins.update(callback); }, function (callback) {