From 0965a1b694b8312c89ca02f64f3c14875db44cf8 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 13 Aug 2017 01:02:34 -0600 Subject: docs: add missing docs on the `transformer` param to RrdQueryDsProxy --- jarmon/jarmon.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jarmon/jarmon.js b/jarmon/jarmon.js index fba8ceb..126671e 100644 --- a/jarmon/jarmon.js +++ b/jarmon/jarmon.js @@ -407,6 +407,8 @@ jarmon.RrdQueryRemote.prototype.getDSNames = function() { * @constructor * @param rrdQuery {jarmon.RrdQueryRemote} An RrdQueryRemote instance * @param dsId {(string|number)} identifier of the RRD datasource (string or number) + * @param {function} [transformer=function(v){return v}] A callable which + * performs a transformation of the values returned from the RRD file. **/ jarmon.RrdQueryDsProxy = function(rrdQuery, dsId, transformer) { this.rrdQuery = rrdQuery; -- cgit v1.2.3