From c3078448b7da6f9c7e55af00d30aaee1945df00c Mon Sep 17 00:00:00 2001 From: Rashid Khan Date: Wed, 3 Feb 2016 13:03:22 -0700 Subject: [PATCH] Fix function names, closes #61 --- package.json | 2 +- series_functions/cusum.js | 2 +- series_functions/min.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 0c3aa569080fd..ab2ace95f9db3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "timelion", - "version": "0.1.204", + "version": "0.1.205", "dependencies": { "body-parser": "^1.12.0", "boom": "^2.8.0", diff --git a/series_functions/cusum.js b/series_functions/cusum.js index e4d57dbf5a400..97867a3b9bff6 100644 --- a/series_functions/cusum.js +++ b/series_functions/cusum.js @@ -1,7 +1,7 @@ var alter = require('../lib/alter.js'); var _ = require('lodash'); var Chainable = require('../lib/classes/chainable'); -module.exports = new Chainable('derivative', { +module.exports = new Chainable('cusum', { args: [ { name: 'inputSeries', diff --git a/series_functions/min.js b/series_functions/min.js index 344cedd2dfaa4..ca66cd5c86133 100644 --- a/series_functions/min.js +++ b/series_functions/min.js @@ -1,7 +1,7 @@ var reduce = require('../lib/reduce.js'); var Chainable = require('../lib/classes/chainable'); -module.exports = new Chainable('max', { +module.exports = new Chainable('min', { args: [ { name: 'inputSeries',