summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-12-13 14:13:48 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-12-13 21:41:44 -0500
commit36ab4adc6415e07bd5e3a48417bdac6a7c9d6df6 (patch)
tree094d2f0b2e36c5381eb81bb9e023e9f311d20d47
parente7bacd45e1b44090781067159b63fe14b46b8611 (diff)
Deprecate jarmon.ChartCoordinator#init
-rw-r--r--jarmon/jarmon.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/jarmon/jarmon.js b/jarmon/jarmon.js
index f3f6e33..bf28d03 100644
--- a/jarmon/jarmon.js
+++ b/jarmon/jarmon.js
@@ -1206,7 +1206,7 @@ jarmon.buildTabbedChartUi = function ($chartTemplate, chartRecipes,
);
// Initialise all the charts
- cc.init();
+ cc.update();
return [charts, ti, cc];
};
@@ -1618,9 +1618,10 @@ jarmon.ChartCoordinator.prototype.setTimeRange = function(from, to) {
};
/**
- * Reset all charts and the input form to the default time range.
+ * An alias for {@linkcode jarmon.ChartCoordinator#update .update()}.
*
* @method
+ * @deprecated Use {@linkcode jarmon.ChartCoordinator#update .update()} instead.
**/
jarmon.ChartCoordinator.prototype.init = function() {
this.update();