adds missing semicolons in src/node/utils folder

This commit is contained in:
disy-mk 2013-03-24 01:18:44 +01:00
parent 35e4891217
commit c78aad16ea
9 changed files with 33 additions and 35 deletions

View file

@ -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();