diff options
author | Richard Wall <richard@aziz> | 2010-07-23 09:11:13 +0100 |
---|---|---|
committer | Richard Wall <richard@aziz> | 2010-07-23 09:11:13 +0100 |
commit | a8767f33f43d23c78ed7c93482278f90847ce00a (patch) | |
tree | a1d64d285913f582475e6589b0b5ca708e739442 /index.html | |
parent | 18e48376f3c9d05b2a3942368196350193c31e4d (diff) |
get rid of some closures
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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 |