From 5f67895a00919ff54eb84b36f3e68592d48c7b0a Mon Sep 17 00:00:00 2001 From: Martin Cech Date: Tue, 3 Mar 2015 13:17:29 -0500 Subject: [PATCH] compile AND pack handlebar templates --- .../templates/compiled/panel_section.js | 9 ++--- .../scripts/templates/compiled/tool_form.js | 34 ++++++++++--------- .../scripts/templates/compiled/tool_link.js | 15 ++++---- .../scripts/templates/compiled/tool_search.js | 11 +++--- .../templates/compiled/panel_section.js | 2 +- .../packed/templates/compiled/tool_form.js | 2 +- .../packed/templates/compiled/tool_link.js | 2 +- .../packed/templates/compiled/tool_search.js | 2 +- 8 files changed, 41 insertions(+), 36 deletions(-) diff --git a/client/galaxy/scripts/templates/compiled/panel_section.js b/client/galaxy/scripts/templates/compiled/panel_section.js index 6c7b57f2913..b29a893c683 100644 --- a/client/galaxy/scripts/templates/compiled/panel_section.js +++ b/client/galaxy/scripts/templates/compiled/panel_section.js @@ -1,13 +1,14 @@ (function() { var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; templates['panel_section'] = template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { - var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; + var helper, alias1=helpers.helperMissing, alias2="function", alias3=this.escapeExpression; + return "
\n " - + escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"name","hash":{},"data":data}) : helper))) + + alias3(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias1),(typeof helper === alias2 ? helper.call(depth0,{"name":"name","hash":{},"data":data}) : helper))) + "\n
\n
\n
\n
"; },"useData":true}); })(); \ No newline at end of file diff --git a/client/galaxy/scripts/templates/compiled/tool_form.js b/client/galaxy/scripts/templates/compiled/tool_form.js index d351f7ec117..66411909f72 100644 --- a/client/galaxy/scripts/templates/compiled/tool_form.js +++ b/client/galaxy/scripts/templates/compiled/tool_form.js @@ -1,26 +1,28 @@ (function() { var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; templates['tool_form'] = template({"1":function(depth0,helpers,partials,data) { - var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = "
\n