summaryrefslogtreecommitdiff
path: root/js/PluginHost.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-03-08 18:33:42 +0300
committerAndrew Dolgov <[email protected]>2018-03-08 18:33:42 +0300
commit3009ecc44f4a2cebe0d918f6a993ce0cab0fbe81 (patch)
tree1ba72d41dfb8870a7635629790813e349151d800 /js/PluginHost.js
parentc9a5e5aa2875008931f4f75ba7d01fd5439cd0ea (diff)
initial for JS strict mode
Diffstat (limited to 'js/PluginHost.js')
-rw-r--r--js/PluginHost.js2
1 files changed, 1 insertions, 1 deletions
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;
}
};