Move most jQuery files into own libs directory.

This commit is contained in:
Jeremy Goecks
2012-08-21 15:52:50 -04:00
parent a3d8452df5
commit 44d37d7eee
74 changed files with 55 additions and 65 deletions
-10
View File
@@ -1,10 +0,0 @@
96c96
< if ( drag.dragging ){
---
> if ( drag.dragging ) {
99c99,101
< }
---
> } else {
> hijack( event, "dragclickonly", elem );
> }
+1 -1
View File
@@ -27,7 +27,7 @@
</%def>
<%def name="javascripts()">
${parent.javascripts()}
${h.js("jquery.autocomplete", "autocomplete_tagging" )}
${h.js("libs/jquery/jquery.autocomplete", "autocomplete_tagging" )}
</%def>
##
## Override methods from base.mako and base_panels.mako
@@ -27,7 +27,7 @@
</%def>
<%def name="javascripts()">
${parent.javascripts()}
${h.js("jquery.autocomplete", "autocomplete_tagging" )}
${h.js("libs/jquery/jquery.autocomplete", "autocomplete_tagging" )}
</%def>
##
## Override methods from base.mako and base_panels.mako
+1 -1
View File
@@ -27,7 +27,7 @@
</%def>
<%def name="javascripts()">
${parent.javascripts()}
${h.js("jquery.autocomplete", "autocomplete_tagging" )}
${h.js("libs/jquery/jquery.autocomplete", "autocomplete_tagging" )}
</%def>
##
## Override methods from base.mako and base_panels.mako
@@ -8,7 +8,7 @@
${common_javascripts()}
</%def>
${h.js( "ui.core", "jquery.cookie", "jquery.dynatree" )}
${h.js( "ui.core", "libs/jquery/jquery.cookie", "libs/jquery/jquery.dynatree" )}
${h.css( "dynatree_skin/ui.dynatree" )}
<script type="text/javascript">
@@ -9,7 +9,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "ui.core", "jquery.dynatree" )}
${h.js( "ui.core", "libs/jquery/jquery.dynatree" )}
${browse_files(repository.name, repository.repo_files_directory(trans.app))}
</%def>
@@ -9,7 +9,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "ui.core", "jquery.dynatree" )}
${h.js( "ui.core", "libs/jquery/jquery.dynatree" )}
${browse_files(tool_dependency.name, tool_dependency.installation_directory( trans.app ))}
</%def>
+1 -1
View File
@@ -26,7 +26,7 @@
## <!--[if lt IE 7]>
## <script type='text/javascript' src="/static/scripts/IE7.js"> </script>
## <![endif]-->
${h.js( "jquery", "bootstrap", "galaxy.base", "libs/underscore", "libs/backbone/backbone", "libs/backbone/backbone-relational", "libs/handlebars.runtime", "mvc/ui" )}
${h.js( "libs/jquery/jquery", "bootstrap", "galaxy.base", "libs/underscore", "libs/backbone/backbone", "libs/backbone/backbone-relational", "libs/handlebars.runtime", "mvc/ui" )}
<script type="text/javascript">
// Set up needed paths.
var galaxy_paths = new GalaxyPaths({
+2 -2
View File
@@ -48,7 +48,7 @@
<!--[if lt IE 7]>
${h.js( 'IE7', 'ie7-recalc' )}
<![endif]-->
${h.js( 'jquery', 'bootstrap', 'libs/underscore', 'libs/backbone/backbone', 'libs/backbone/backbone-relational', 'libs/handlebars.runtime', 'mvc/ui' )}
${h.js( 'libs/jquery/jquery', 'bootstrap', 'libs/underscore', 'libs/backbone/backbone', 'libs/backbone/backbone-relational', 'libs/handlebars.runtime', 'mvc/ui' )}
<script type="text/javascript">
// Set up needed paths.
var galaxy_paths = new GalaxyPaths({
@@ -73,7 +73,7 @@
<%def name="late_javascripts()">
## Scripts can be loaded later since they progressively add features to
## the panels, but do not change layout
${h.js( 'jquery.event.drag', 'jquery.event.hover', 'jquery.form', 'jquery.rating', 'galaxy.base', 'galaxy.panels' )}
${h.js( 'libs/jquery/jquery.event.drag', 'libs/jquery/jquery.event.hover', 'libs/jquery/jquery.form', 'libs/jquery/jquery.rating', 'galaxy.base', 'galaxy.panels' )}
<script type="text/javascript">
ensure_dd_helper();
+1 -1
View File
@@ -4,7 +4,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "jquery", "galaxy.base" )}
${h.js( "libs/jquery/jquery", "galaxy.base" )}
<script type="text/javascript">
$(function() {
+1 -1
View File
@@ -11,7 +11,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${message_ns.javascripts()}
${h.js( "galaxy.base", "jquery.autocomplete", "autocomplete_tagging" )}
${h.js( "galaxy.base", "libs/jquery/jquery.autocomplete", "autocomplete_tagging" )}
</%def>
<%def name="datatype( dataset, datatypes )">
+3 -3
View File
@@ -32,9 +32,9 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "jquery", "bootstrap", "galaxy.base", "json2", "jstorage", "jquery.autocomplete", "jquery.rating",
"autocomplete_tagging", "viz/trackster", "viz/trackster_ui", "jquery.event.drag", "jquery.mousewheel",
"jquery.autocomplete", "jquery.ui.sortable.slider", "farbtastic", "mvc/data", "viz/visualization" )}
${h.js( "libs/jquery/jquery", "bootstrap", "galaxy.base", "json2", "libs/jquery/jstorage", "libs/jquery/jquery.autocomplete", "libs/jquery/jquery.rating",
"autocomplete_tagging", "viz/trackster", "viz/trackster_ui", "libs/jquery/jquery.event.drag", "libs/jquery/jquery.mousewheel",
"libs/jquery/jquery.autocomplete", "libs/jquery/jquery.ui.sortable.slider", "farbtastic", "mvc/data", "viz/visualization" )}
<script type="text/javascript">
+1 -1
View File
@@ -26,7 +26,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js("jquery.autocomplete")}
${h.js("libs/jquery/jquery.autocomplete")}
<script type="text/javascript">
$(function(){
$("input:text:first").focus();
+1 -1
View File
@@ -52,7 +52,7 @@
</%def>
<%def name="grid_javascripts()">
${h.js("jquery.autocomplete", "autocomplete_tagging", "jquery.rating" )}
${h.js("libs/jquery/jquery.autocomplete", "autocomplete_tagging", "libs/jquery/jquery.rating" )}
<script type="text/javascript">
// This is necessary so that, when nested arrays are used in ajax/post/get methods, square brackets ('[]') are
// not appended to the identifier of a nested array.
+1 -1
View File
@@ -13,7 +13,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "galaxy.base", "jquery", "json2", "jstorage" )}
${h.js( "galaxy.base", "libs/jquery/jquery", "json2", "libs/jquery/jstorage" )}
<script type="text/javascript">
$(function() {
init_history_items( $("div.historyItemWrapper"), false, "nochanges" );
+1 -1
View File
@@ -49,7 +49,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js("json2")}
${h.js("jstorage")}
${h.js("libs/jquery/jstorage")}
${common_javascripts()}
${self.grid_javascripts()}
</%def>
@@ -5,7 +5,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "jquery", "galaxy.base" )}
${h.js( "libs/jquery/jquery", "galaxy.base" )}
<script type="text/javascript">
$(function() {
$("#select-multiple").click(function() {
+1 -1
View File
@@ -5,7 +5,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js("jquery.autocomplete", "autocomplete_tagging" )}
${h.js("libs/jquery/jquery.autocomplete", "autocomplete_tagging" )}
</%def>
<%def name="stylesheets()">
@@ -46,7 +46,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js("jstorage")}
${h.js("libs/jquery/jstorage")}
${common_javascripts()}
</%def>
@@ -3,7 +3,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js("jquery.autocomplete", "autocomplete_tagging" )}
${h.js("libs/jquery/jquery.autocomplete", "autocomplete_tagging" )}
</%def>
<%def name="stylesheets()">
+1 -1
View File
@@ -13,7 +13,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js("jquery.autocomplete", "autocomplete_tagging" )}
${h.js("libs/jquery/jquery.autocomplete", "autocomplete_tagging" )}
</%def>
<%def name="stylesheets()">
+2 -2
View File
@@ -26,8 +26,8 @@
</style>
<style type="text/css" media="screen">@import "${h.url_for('/static/jqtouch/jqtouch.css')}";</style>
<script type="text/javascript" src="${h.url_for('/static/scripts/jquery.js')}"></script>
<script type="text/javascript" src="${h.url_for('/static/scripts/jqtouch.js')}"></script>
<script type="text/javascript" src="${h.url_for('/static/scripts/libs/jquery/jquery.js')}"></script>
<script type="text/javascript" src="${h.url_for('/static/scripts/libs/jquery/jqtouch.js')}"></script>
<script type="text/javascript" charset="utf-8">
$(document).jQTouch( {
icon: "${h.url_for('static/images/galaxyIcon_noText.png')}",
+2 -2
View File
@@ -21,8 +21,8 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "jquery.event.drag", "jquery.event.drop", "jquery.event.hover", "jquery.form", "json2", "jstorage",
"galaxy.base", "jquery.wymeditor", "jquery.autocomplete", "autocomplete_tagging")}
${h.js( "libs/jquery/jquery.event.drag", "libs/jquery/jquery.event.drop", "libs/jquery/jquery.event.hover", "libs/jquery/jquery.form", "json2", "libs/jquery/jstorage",
"galaxy.base", "libs/jquery/jquery.wymeditor", "libs/jquery/jquery.autocomplete", "autocomplete_tagging")}
<script type="text/javascript">
// Useful Galaxy stuff.
@@ -3,7 +3,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js("jquery.autocomplete", "autocomplete_tagging" )}
${h.js("libs/jquery/jquery.autocomplete", "autocomplete_tagging" )}
</%def>
<%def name="stylesheets()">
+1 -1
View File
@@ -3,7 +3,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js("jquery.autocomplete", "autocomplete_tagging" )}
${h.js("libs/jquery/jquery.autocomplete", "autocomplete_tagging" )}
</%def>
<%def name="stylesheets()">
+1 -1
View File
@@ -17,7 +17,7 @@
<meta http-equiv="Pragma" content="no-cache">
${h.css( "base", "history", "autocomplete_tagging" )}
${h.js( "jquery", "bootstrap", "galaxy.base", "json2", "jstorage", "jquery.autocomplete", "autocomplete_tagging" )}
${h.js( "libs/jquery/jquery", "bootstrap", "galaxy.base", "json2", "libs/jquery/jstorage", "libs/jquery/jquery.autocomplete", "autocomplete_tagging" )}
<script type="text/javascript">
+1 -1
View File
@@ -12,7 +12,7 @@
</%def>
<%def name="javascripts()">
${h.js( "jquery", "galaxy.panels", "galaxy.base", "jquery.autocomplete", "jstorage" )}
${h.js( "libs/jquery/jquery", "galaxy.panels", "galaxy.base", "libs/jquery/jquery.autocomplete", "libs/jquery/jstorage" )}
<script type="text/javascript">
$(function() {
$(window).bind("refresh_on_change", function() {
+1 -1
View File
@@ -21,7 +21,7 @@ ${parent.javascripts()}
<script type='text/javascript' src="${h.url_for('/static/scripts/excanvas.js')}"></script>
<![endif]-->
${h.js( "galaxy.base", "galaxy.panels", "json2", "jquery", "bootstrap", "jstorage", "jquery.event.drag", "jquery.event.hover","jquery.mousewheel", "jquery.autocomplete", "mvc/data", "viz/visualization", "viz/trackster", "viz/trackster_ui", "jquery.ui.sortable.slider", "farbtastic" )}
${h.js( "galaxy.base", "galaxy.panels", "json2", "libs/jquery/jquery", "bootstrap", "libs/jquery/jstorage", "libs/jquery/jquery.event.drag", "libs/jquery/jquery.event.hover","libs/jquery/jquery.mousewheel", "libs/jquery/jquery.autocomplete", "mvc/data", "viz/visualization", "viz/trackster", "viz/trackster_ui", "libs/jquery/jquery.ui.sortable.slider", "farbtastic" )}
<script type="text/javascript">
//
+1 -1
View File
@@ -108,7 +108,7 @@
${h.templates( "tool_link", "panel_section", "tool_search", "tool_form" )}
${h.js( "libs/d3", "mvc/data", "mvc/tools", "viz/visualization", "viz/sweepster",
"viz/trackster", "viz/trackster_ui", "jquery.ui.sortable.slider" )}
"viz/trackster", "viz/trackster_ui", "libs/jquery/jquery.ui.sortable.slider" )}
<script type="text/javascript">
var viz;
+1 -1
View File
@@ -18,7 +18,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "jquery", "galaxy.base" )}
${h.js( "libs/jquery/jquery", "galaxy.base" )}
</%def>
<%def name="init()">
+1 -1
View File
@@ -19,7 +19,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "jquery", "galaxy.base" )}
${h.js( "libs/jquery/jquery", "galaxy.base" )}
</%def>
<%def name="init()">
@@ -57,7 +57,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "jquery.rating", "ui.core", "jquery.cookie", "jquery.dynatree" )}
${h.js( "libs/jquery/jquery.rating", "ui.core", "libs/jquery/jquery.cookie", "libs/jquery/jquery.dynatree" )}
${common_javascripts(repository)}
</%def>
@@ -63,7 +63,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "jquery.rating" )}
${h.js( "libs/jquery/jquery.rating" )}
${common_javascripts(repository)}
</%def>
@@ -58,7 +58,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "jquery.rating" )}
${h.js( "libs/jquery/jquery.rating" )}
${common_javascripts(repository)}
</%def>
@@ -61,7 +61,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "jquery.rating" )}
${h.js( "libs/jquery/jquery.rating" )}
</%def>
%if message:
@@ -23,12 +23,12 @@
<%def name="stylesheets()">
${parent.stylesheets()}
${h.css( "jquery.rating", "dynatree_skin/ui.dynatree" )}
${h.css( "libs/jquery/jquery.rating", "dynatree_skin/ui.dynatree" )}
</%def>
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "ui.core", "jquery.cookie", "jquery.dynatree" )}
${h.js( "ui.core", "libs/jquery/jquery.cookie", "libs/jquery/jquery.dynatree" )}
${common_javascripts(repository)}
<script type="text/javascript">
$( function() {
@@ -36,7 +36,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "jquery.rating" )}
${h.js( "libs/jquery/jquery.rating" )}
</%def>
<br/><br/>
@@ -37,7 +37,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "jquery.rating" )}
${h.js( "libs/jquery/jquery.rating" )}
</%def>
<br/><br/>
@@ -59,7 +59,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "jquery.rating" )}
${h.js( "libs/jquery/jquery.rating" )}
${common_javascripts(repository)}
</%def>
+1 -1
View File
@@ -22,7 +22,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "jquery", "galaxy.base" )}
${h.js( "libs/jquery/jquery", "galaxy.base" )}
</%def>
<%def name="init()">
+1 -1
View File
@@ -26,7 +26,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "jquery", "galaxy.base" )}
${h.js( "libs/jquery/jquery", "galaxy.base" )}
</%def>
<%def name="left_panel()">
+1 -1
View File
@@ -9,7 +9,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "galaxy.base", "jquery.autocomplete", "autocomplete_tagging" )}
${h.js( "galaxy.base", "libs/jquery/jquery.autocomplete", "autocomplete_tagging" )}
</%def>
%if msg:
+7 -7
View File
@@ -25,17 +25,17 @@
<script type='text/javascript' src="${h.url_for('/static/scripts/excanvas.js')}"></script>
<![endif]-->
${h.js( "jquery",
${h.js( "libs/jquery/jquery",
"bootstrap",
"jquery.event.drag",
"jquery.event.drop",
"jquery.event.hover",
"jquery.form",
"libs/jquery/jquery.event.drag",
"libs/jquery/jquery.event.drop",
"libs/jquery/jquery.event.hover",
"libs/jquery/jquery.form",
"json2",
"jstorage",
"libs/jquery/jstorage",
"galaxy.base",
"galaxy.workflow_editor.canvas",
"jquery.autocomplete",
"libs/jquery/jquery.autocomplete",
"autocomplete_tagging")}
<!--[if lt IE 7]>
+1 -1
View File
@@ -2,7 +2,7 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.js( "jquery.autocomplete", "bootstrap" )}
${h.js( "libs/jquery/jquery.autocomplete", "bootstrap" )}
<script type="text/javascript">
$( function() {
function show_tool_body(title){