From 36ab4adc6415e07bd5e3a48417bdac6a7c9d6df6 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 13 Dec 2016 14:13:48 -0500 Subject: Deprecate jarmon.ChartCoordinator#init --- jarmon/jarmon.js | 5 +++-- 1 file 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(); -- cgit v1.1-4-g5e80