mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 06:34:41 +02:00
* WIP pause prompt
* prompt.json::prompts::pause is now a standard/required prompt * CT for current time MCI * Fix up config/theme defaults.dateTimeFormat -> dateFormat & timeFormat
This commit is contained in:
parent
7f4c97329d
commit
8b5152d66f
10 changed files with 119 additions and 22 deletions
|
@ -52,13 +52,13 @@ JSONCache.prototype.getJSON = function(fileName, cb) {
|
|||
var filePath = paths.join(Config.paths.mods, fileName);
|
||||
|
||||
if(filePath in this.cache) {
|
||||
cb(null, this.cache[filePath]);
|
||||
cb(null, this.cache[filePath], false);
|
||||
} else {
|
||||
this.reCacheJSONFromFile(filePath, function fileCached(err, json) {
|
||||
if(!err) {
|
||||
self.gaze.add(filePath);
|
||||
}
|
||||
cb(err, json);
|
||||
cb(err, json, true);
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue