mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-01 15:37:32 +08:00
Unify and expose all the jqueries.
This commit is contained in:
+2
-1
@@ -74,7 +74,8 @@
|
||||
// configure require for base
|
||||
// due to our using both script tags and require, we need to access the same jq in both for plugin retention
|
||||
// source http://www.manuel-strehl.de/dev/load_jquery_before_requirejs.en.html
|
||||
define( 'jquery', [], function(){ return $; })
|
||||
window.jQuery = window.jquery = window.$;
|
||||
define( 'jquery', [], function(){ return window.$; })
|
||||
// TODO: use one system
|
||||
|
||||
// shims and paths
|
||||
|
||||
@@ -62,7 +62,8 @@
|
||||
// source http://www.manuel-strehl.de/dev/load_jquery_before_requirejs.en.html
|
||||
window.Galaxy = window.Galaxy || {};
|
||||
window.Galaxy.root = '${h.url_for( "/" )}';
|
||||
define( 'jquery', [], function(){ return $; })
|
||||
window.jQuery = window.jquery = window.$;
|
||||
define( 'jquery', [], function(){ return window.$; })
|
||||
// TODO: use one system
|
||||
|
||||
// shims and paths
|
||||
|
||||
Reference in New Issue
Block a user