From 9fd4c47c8e3d87efd89acab8c1b59a5f526506d4 Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Fri, 31 Dec 2010 12:21:54 +0000 Subject: a more suitable name --- jarmon/jarmon.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'jarmon/jarmon.js') diff --git a/jarmon/jarmon.js b/jarmon/jarmon.js index 6bd8d23..d47af27 100644 --- a/jarmon/jarmon.js +++ b/jarmon/jarmon.js @@ -685,12 +685,12 @@ jarmon.Chart.fromRecipe = function(recipes, templateFactory, downloader) { /** - * Generate a form through which to manipulate the data sources for a chart + * Generate a form through which to choose a data source from a remote RRD file * - * @class jarmon.ChartConfig + * @class jarmon.RrdChooser * @constructor **/ -jarmon.ChartConfig = function($tpl) { +jarmon.RrdChooser = function($tpl) { this.$tpl = $tpl; this.data = { rrdUrl: '', @@ -700,7 +700,7 @@ jarmon.ChartConfig = function($tpl) { }; }; -jarmon.ChartConfig.prototype.drawRrdUrlForm = function() { +jarmon.RrdChooser.prototype.drawRrdUrlForm = function() { var self = this; this.$tpl.empty(); @@ -757,7 +757,7 @@ jarmon.ChartConfig.prototype.drawRrdUrlForm = function() { ).appendTo(this.$tpl); } -jarmon.ChartConfig.prototype.drawDsLabelForm = function() { +jarmon.RrdChooser.prototype.drawDsLabelForm = function() { var self = this; this.$tpl.empty(); @@ -801,7 +801,7 @@ jarmon.ChartConfig.prototype.drawDsLabelForm = function() { }; -jarmon.ChartConfig.prototype.drawDsSummary = function() { +jarmon.RrdChooser.prototype.drawDsSummary = function() { var self = this; this.$tpl.empty(); -- cgit v1.2.3