summaryrefslogtreecommitdiff
path: root/src/static/js/pluginfw/hooks.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/static/js/pluginfw/hooks.js')
-rw-r--r--src/static/js/pluginfw/hooks.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/pluginfw/hooks.js b/src/static/js/pluginfw/hooks.js
index a8ac413f..cf5fcc4e 100644
--- a/src/static/js/pluginfw/hooks.js
+++ b/src/static/js/pluginfw/hooks.js
@@ -41,7 +41,7 @@ exports.syncMapFirst = function (lst, fn) {
exports.mapFirst = function (lst, fn, cb) {
var i = 0;
- next = function () {
+ var next = function () {
if (i >= lst.length) return cb(undefined);
fn(lst[i++], function (err, result) {
if (err) return cb(err);