From 655e07939925e345c825636b8e803543bd395e2f Mon Sep 17 00:00:00 2001 From: disy-mk Date: Sun, 24 Mar 2013 02:36:50 +0100 Subject: [PATCH] adds missing semicolons in src/node folder --- src/node/easysync_tests.js | 4 ++-- src/node/padaccess.js | 2 +- src/node/server.js | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) 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) {