From 4c6febb4bfebf27bf98e4617755d40d8dcab1861 Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Sat, 10 Sep 2011 11:52:52 +0100 Subject: #846377 Pass transformer function to the RrdQuery and add a unit test --- jarmon/jarmon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jarmon/jarmon.js') diff --git a/jarmon/jarmon.js b/jarmon/jarmon.js index d8cf305..32fce6d 100644 --- a/jarmon/jarmon.js +++ b/jarmon/jarmon.js @@ -529,7 +529,7 @@ jarmon.RrdQueryRemote.prototype._callRemote = function(methodName, args) { var rrd = new RRDFile(res); self.lastUpdate = rrd.getLastUpdate(); - var rq = new jarmon.RrdQuery(rrd, self.unit); + var rq = new jarmon.RrdQuery(rrd, self.unit, self.transformer); try { ret.resolve(rq[methodName].apply(rq, args)); } catch(e) { -- cgit v1.2.3