From 3009ecc44f4a2cebe0d918f6a993ce0cab0fbe81 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 8 Mar 2018 18:33:42 +0300 Subject: initial for JS strict mode --- js/PluginHost.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/PluginHost.js') diff --git a/js/PluginHost.js b/js/PluginHost.js index ae89ba481..88e2660ed 100644 --- a/js/PluginHost.js +++ b/js/PluginHost.js @@ -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; } }; -- cgit v1.2.3-54-g00ecf