initial for JS strict mode

This commit is contained in:
Andrew Dolgov
2018-03-08 18:33:42 +03:00
parent c9a5e5aa28
commit 3009ecc44f
7 changed files with 11 additions and 10 deletions

View File

@@ -22,7 +22,7 @@ var PluginHost = {
console.warn('PluginHost::run ' + name);
if (typeof(this.hooks[name]) != 'undefined')
for (i = 0; i < this.hooks[name].length; i++)
for (var i = 0; i < this.hooks[name].length; i++)
if (!this.hooks[name][i](args)) break;
}
};