mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
adds missing semicolons in src/node/utils folder
This commit is contained in:
parent
35e4891217
commit
c78aad16ea
9 changed files with 33 additions and 35 deletions
|
@ -137,7 +137,7 @@ exports.abiwordAvailable = function()
|
|||
{
|
||||
return "no";
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
exports.reloadSettings = function reloadSettings() {
|
||||
// Discover where the settings file lives
|
||||
|
@ -157,7 +157,7 @@ exports.reloadSettings = function reloadSettings() {
|
|||
try {
|
||||
if(settingsStr) {
|
||||
settings = vm.runInContext('exports = '+settingsStr, vm.createContext(), "settings.json");
|
||||
settings = JSON.parse(JSON.stringify(settings)) // fix objects having constructors of other vm.context
|
||||
settings = JSON.parse(JSON.stringify(settings)); // fix objects having constructors of other vm.context
|
||||
}
|
||||
}catch(e){
|
||||
console.error('There was an error processing your settings.json file: '+e.message);
|
||||
|
@ -196,9 +196,9 @@ exports.reloadSettings = function reloadSettings() {
|
|||
}
|
||||
|
||||
if(exports.dbType === "dirty"){
|
||||
console.warn("DirtyDB is used. This is fine for testing but not recommended for production.")
|
||||
console.warn("DirtyDB is used. This is fine for testing but not recommended for production.");
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
// initially load settings
|
||||
exports.reloadSettings();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue