From 7829cee7e52939e714217375b8620533d3f74f33 Mon Sep 17 00:00:00 2001 From: jdeveloper Date: Tue, 19 Nov 2013 13:07:50 +0100 Subject: [PATCH] Fix for _kiwi.global.componets.ControlInput method in app.js changing the orther of the arguments of the function passed to _.each --- client/src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app.js b/client/src/app.js index a164633..b750663 100644 --- a/client/src/app.js +++ b/client/src/app.js @@ -91,7 +91,7 @@ _kiwi.global = { processInput: 'run', addPluginIcon: 'addPluginIcon' }; - _.each(funcs, function(controlbox_fn, func_name) { + _.each(funcs, function(func_name, controlbox_fn) { obj[func_name] = function() { var fn_name = controlbox_fn; return _kiwi.app.controlbox[fn_name].apply(_kiwi.app.controlbox, arguments); -- 2.25.1