mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-15 11:36:53 -04:00
adds missing semicolons in src/node folder
This commit is contained in:
parent
35e4891217
commit
655e079399
3 changed files with 6 additions and 6 deletions
|
@ -27,11 +27,11 @@ var AttributePool = require("ep_etherpad-lite/static/js/AttributePool");
|
||||||
function random() {
|
function random() {
|
||||||
this.nextInt = function (maxValue) {
|
this.nextInt = function (maxValue) {
|
||||||
return Math.floor(Math.random() * maxValue);
|
return Math.floor(Math.random() * maxValue);
|
||||||
}
|
};
|
||||||
|
|
||||||
this.nextDouble = function (maxValue) {
|
this.nextDouble = function (maxValue) {
|
||||||
return Math.random();
|
return Math.random();
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
function runTests() {
|
function runTests() {
|
||||||
|
|
|
@ -18,4 +18,4 @@ module.exports = function (req, res, callback) {
|
||||||
res.send(403, "403 - Can't touch this");
|
res.send(403, "403 - Can't touch this");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
|
|
@ -37,8 +37,8 @@ async.waterfall([
|
||||||
// load npm
|
// load npm
|
||||||
function(callback) {
|
function(callback) {
|
||||||
npm.load({}, function(er) {
|
npm.load({}, function(er) {
|
||||||
callback(er)
|
callback(er);
|
||||||
})
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
// load everything
|
// load everything
|
||||||
|
@ -59,7 +59,7 @@ async.waterfall([
|
||||||
},
|
},
|
||||||
|
|
||||||
function(callback) {
|
function(callback) {
|
||||||
plugins.update(callback)
|
plugins.update(callback);
|
||||||
},
|
},
|
||||||
|
|
||||||
function (callback) {
|
function (callback) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue