From 803f00117c9d745ec7758be3713b9d2d35fe3a01 Mon Sep 17 00:00:00 2001 From: javi Date: Mon, 2 Sep 2013 15:16:34 +0200 Subject: [PATCH] fixed option for jsonarray provider --- lib/torque/provider.jsonarray.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/torque/provider.jsonarray.js b/lib/torque/provider.jsonarray.js index 7ae9ade..c07ebee 100644 --- a/lib/torque/provider.jsonarray.js +++ b/lib/torque/provider.jsonarray.js @@ -74,7 +74,7 @@ o.times.push(row.data[HEADER_SIZE + s]); o.values.push(row.data[HEADER_SIZE + o.valuesCount + s]); } - if(self.options.cummulative) { + if(self.options.cumulative) { for (var s = 1; s < o.valuesCount; ++s) { o.values[s] += o.values[s - 1]; }