diff options
Diffstat (limited to 'jarmon/jarmon.js')
-rw-r--r-- | jarmon/jarmon.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jarmon/jarmon.js b/jarmon/jarmon.js index 5f17e50..3357864 100644 --- a/jarmon/jarmon.js +++ b/jarmon/jarmon.js @@ -1152,7 +1152,7 @@ jarmon.buildTabbedChartUi = function ($chartTemplate, chartRecipes, $controlPanelTemplate) { var p = new jarmon.Parallimiter(2); function serialDownloader(url) { - return p.addCallable(jarmon.downloadBinary, [url]); + return p.addCallable(function(){ return jarmon.downloadBinary(url); }); } var ti = new jarmon.TabbedInterface($tabTemplate, tabRecipes); @@ -1664,6 +1664,8 @@ jarmon.Parallimiter = function(limit) { * Add a function to be called when the number of in progress calls drops * below the configured limit * + * @todo Remove the `args` argument in favor of passing in closures. + * * @method * @param callable {function} A function which returns a Deferred. * @param args {Array} A list of arguments to pass to the callable |