mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:05:56 +00:00
set use strict on JS modules; remove some mostly useless stuff like get_minified_js()
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user