From a8767f33f43d23c78ed7c93482278f90847ce00a Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Fri, 23 Jul 2010 09:11:13 +0100 Subject: get rid of some closures --- index.html | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index ed6ec70..3db6594 100644 --- a/index.html +++ b/index.html @@ -44,12 +44,9 @@ * Setup chart date range controls and all charts **/ - var p = new jarmon.Parallimiter(1); + var p = new jarmon.Parallimiter(2); function serialDownloader(url) { - return p.addCallable( - function() { - return jarmon.downloadBinary(url); - }); + return p.addCallable(jarmon.downloadBinary, [url]); } // Extract the chart template from the page -- cgit v1.2.3-2-g168b