summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorRichard Wall <richard@aziz>2010-07-23 09:11:13 +0100
committerRichard Wall <richard@aziz>2010-07-23 09:11:13 +0100
commita8767f33f43d23c78ed7c93482278f90847ce00a (patch)
treea1d64d285913f582475e6589b0b5ca708e739442 /index.html
parent18e48376f3c9d05b2a3942368196350193c31e4d (diff)
get rid of some closures
Diffstat (limited to 'index.html')
-rw-r--r--index.html7
1 files changed, 2 insertions, 5 deletions
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