From 2447194a8f52ba7577ef2a0e0929d433dfa292aa Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Sun, 9 Jan 2011 15:36:01 +0000 Subject: Simplify the example application - move most code to jarmon.js --- jarmon/jarmon.js | 158 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 156 insertions(+), 2 deletions(-) (limited to 'jarmon') diff --git a/jarmon/jarmon.js b/jarmon/jarmon.js index 0919915..a2c862d 100644 --- a/jarmon/jarmon.js +++ b/jarmon/jarmon.js @@ -972,6 +972,89 @@ jarmon.ChartEditor.prototype._addDatasourceRow = function(record) { }; +jarmon.TabbedInterface = function($tpl, recipe) { + this.$tpl = $tpl; + this.recipe = recipe; + this.placeholders = []; + + var $tabBar = $('