Merge branch 'develop' into vvzvlad_local

This commit is contained in:
vvzvlad
2018-02-07 14:10:43 +03:00
committed by GitHub
20 changed files with 5449 additions and 319 deletions

View File

@@ -53,14 +53,15 @@ Module.register("compliments", {
this.lastComplimentIndex = -1;
var self = this;
if (this.config.remoteFile != null) {
this.complimentFile((response) => {
this.config.compliments = JSON.parse(response);
self.updateDom();
});
}
// Schedule update timer.
var self = this;
setInterval(function() {
self.updateDom(self.config.fadeSpeed);
}, this.config.updateInterval);