summaryrefslogtreecommitdiff
path: root/jarmon/jarmon.js
diff options
context:
space:
mode:
authorRichard Wall <richard@largo>2010-08-28 22:34:26 +0100
committerRichard Wall <richard@largo>2010-08-28 22:34:26 +0100
commit333dfba10d99e5a2eec391c2481156329e2949dc (patch)
treef890b13f90e2d2b8dc0a3058542accc01e921846 /jarmon/jarmon.js
parent64f965d74374f3a15342bf6e807ac50513a69f68 (diff)
the start of a builder of simple, testable rrd files
Diffstat (limited to 'jarmon/jarmon.js')
-rw-r--r--jarmon/jarmon.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jarmon/jarmon.js b/jarmon/jarmon.js
index 6296fc5..24f967d 100644
--- a/jarmon/jarmon.js
+++ b/jarmon/jarmon.js
@@ -263,7 +263,7 @@ jarmon.RrdQuery.prototype.getData = function(startTime, endTime, dsId, cfName) {
jarmon.RrdQueryRemote = function(url, unit, downloader) {
this.url = url;
this.unit = unit;
- this.downloader = downloader;
+ this.downloader = downloader || jarmon.downloadBinary;
this.lastUpdate = 0;
this._download = null;
};