From 7e7a9e36693919bd79a11be271a379303f581c54 Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Sat, 8 Jan 2011 15:05:38 +0000 Subject: start to reorganise the example application --- jarmon/jarmon.js | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'jarmon/jarmon.js') diff --git a/jarmon/jarmon.js b/jarmon/jarmon.js index 5952aa2..0919915 100644 --- a/jarmon/jarmon.js +++ b/jarmon/jarmon.js @@ -679,30 +679,6 @@ jarmon.Chart.prototype.draw = function() { }; -jarmon.Chart.fromRecipe = function(recipes, templateFactory, downloader) { - /** - * A static factory method to generate a list of I{Chart} from a list of - * recipes and a list of available rrd files in collectd path format. - * - * @method fromRecipe - * @param recipes {Array} A list of recipe objects. - * @param templateFactory {Function} A callable which generates an html - * template for a chart. - * @param downloader {Function} A download function which returns a Deferred - * @return {Array} A list of Chart objects - **/ - - var charts = []; - - for(var i=0; i