summaryrefslogtreecommitdiff
path: root/js/PluginHost.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-02 18:38:27 +0300
committerAndrew Dolgov <[email protected]>2018-12-02 18:38:27 +0300
commitf89924f7a19871e26d5805a6c1863903c6e474bf (patch)
tree8e7e26aa987d809c6a217319af79479c0006a260 /js/PluginHost.js
parent807ff074540575e6ef8f99ad32b098a816091171 (diff)
set use strict on JS modules; remove some mostly useless stuff like get_minified_js()
Diffstat (limited to 'js/PluginHost.js')
-rw-r--r--js/PluginHost.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/PluginHost.js b/js/PluginHost.js
index a41694f34..9dbd91756 100644
--- a/js/PluginHost.js
+++ b/js/PluginHost.js
@@ -19,10 +19,10 @@ const PluginHost = {
this.hooks[name].push(callback);
},
run: function (name, args) {
- console.warn('PluginHost::run ' + name);
+ //console.warn('PluginHost::run ' + name);
if (typeof(this.hooks[name]) != 'undefined')
- for (var i = 0; i < this.hooks[name].length; i++)
+ for (let i = 0; i < this.hooks[name].length; i++)
if (!this.hooks[name][i](args)) break;
}
};