mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
UI: (cleaning up) remove handlebars compiled/map and remaining references
This commit is contained in:
@@ -493,7 +493,7 @@ var ToolPanel = Backbone.Model.extend({
|
||||
/**
|
||||
* View classes for Galaxy tools and tool panel.
|
||||
*
|
||||
* Views use precompiled Handlebars templates for rendering. Views update as needed
|
||||
* Views use the templates defined below for rendering. Views update as needed
|
||||
* based on (a) model/collection events and (b) user interactions; in this sense,
|
||||
* they are controllers are well and the HTML is the real view in the MVC architecture.
|
||||
*/
|
||||
@@ -782,6 +782,7 @@ var IntegratedToolMenuAndView = Backbone.View.extend({
|
||||
}
|
||||
});
|
||||
|
||||
// TODO: move into relevant views
|
||||
var templates = {
|
||||
// the search bar at the top of the tool panel
|
||||
tool_search : _.template([
|
||||
|
||||
@@ -8,7 +8,6 @@ window[ 'jQuery' ] = jQuery; // a weird form to prevent webpack from sub'ing 'wi
|
||||
window.$ = jQuery;
|
||||
window._ = _;
|
||||
window.Backbone = Backbone;
|
||||
window.Handlebars = Handlebars;
|
||||
// console.debug('globals loaded:', window.jQuery, window.Backbone, '...');
|
||||
|
||||
// these are galaxy globals not defined in the provider (although they could be - but why encourage that?)
|
||||
|
||||
@@ -30,7 +30,6 @@ ${h.js( 'libs/jquery/jquery',
|
||||
'libs/underscore',
|
||||
'libs/backbone/backbone',
|
||||
'libs/d3',
|
||||
'libs/handlebars.runtime',
|
||||
'ui/peek-column-selector',
|
||||
'ui/pagination',
|
||||
'mvc/visualization/visualization-model' )}
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -106,7 +106,6 @@
|
||||
<%def name="javascripts()">
|
||||
${parent.javascripts()}
|
||||
|
||||
## ${h.templates( "tool_link", "panel_section", "tool_search", "tool_form" )}
|
||||
${h.js( "libs/jquery/jquery-ui" )}
|
||||
|
||||
<script type="text/javascript">
|
||||
@@ -119,7 +118,6 @@
|
||||
// exports: "Backbone"
|
||||
// },
|
||||
// "libs/d3": { exports: "d3" },
|
||||
// 'handlebars' : { exports: 'Handlebars' },
|
||||
// },
|
||||
// // cache buster based on templated server (re)start time
|
||||
// urlArgs: 'v=${app.server_starttime}'
|
||||
|
||||
Reference in New Issue
Block a user