* 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:
Bryan Ashby 2015-07-23 22:23:44 -06:00
parent 7f4c97329d
commit 8b5152d66f
10 changed files with 119 additions and 22 deletions

View file

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