mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Swap all IES to require-less loading.
This commit is contained in:
@@ -34,15 +34,13 @@ url = ie_request.url_template('${PROXY_URL}/login_api_gie?key=' + askomics_api_k
|
||||
<html>
|
||||
<head>
|
||||
${ ie.load_default_js() }
|
||||
${ ie.load_default_app() }
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
${ ie.default_javascript_variables() }
|
||||
var url = '${ url }';
|
||||
${ ie.plugin_require_config() }
|
||||
requirejs(['plugin/main'], function(){
|
||||
load_askomics(url);
|
||||
});
|
||||
load_askomics(url);
|
||||
</script>
|
||||
<div id="main" width="100%" height="100%">
|
||||
</div>
|
||||
|
||||
@@ -24,6 +24,7 @@ root = h.url_for( '/' )
|
||||
<html>
|
||||
<head>
|
||||
${ ie.load_default_js() }
|
||||
${ ie.load_default_app() }
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -31,7 +32,6 @@ root = h.url_for( '/' )
|
||||
|
||||
${ ie.default_javascript_variables() }
|
||||
var notebook_access_url = '${ notebook_access_url }';
|
||||
${ ie.plugin_require_config() }
|
||||
|
||||
IES.display_spinner();
|
||||
|
||||
@@ -43,10 +43,8 @@ root = h.url_for( '/' )
|
||||
|
||||
var startup = function(){
|
||||
// Load notebook
|
||||
requirejs(['plugin/main'], function(){
|
||||
IES.load_when_ready(ie_readiness_url, function(){
|
||||
load_notebook(notebook_access_url);
|
||||
});
|
||||
IES.load_when_ready(ie_readiness_url, function(){
|
||||
load_notebook(notebook_access_url);
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
|
||||
${ ie.default_javascript_variables() }
|
||||
var url = '${ url }';
|
||||
${ ie.plugin_require_config() }
|
||||
|
||||
$( document ).ready(function() {
|
||||
IES.keepAlive(url);
|
||||
|
||||
@@ -18,19 +18,17 @@ url = ie_request.url_template('${PROXY_URL}/ethercalc/')
|
||||
<html>
|
||||
<head>
|
||||
${ ie.load_default_js() }
|
||||
${ ie.load_default_app() }
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
${ ie.default_javascript_variables() }
|
||||
var url = '${ url }';
|
||||
${ ie.plugin_require_config() }
|
||||
|
||||
// Keep container running and load IE
|
||||
requirejs(['plugin/main'], function(){
|
||||
IES.keepAlive(url);
|
||||
IES.load_when_ready(ie_readiness_url, function(){
|
||||
load_notebook(url);
|
||||
});
|
||||
IES.keepAlive(url);
|
||||
IES.load_when_ready(ie_readiness_url, function(){
|
||||
load_notebook(url);
|
||||
});
|
||||
</script>
|
||||
<div id="main" width="100%" height="100%">
|
||||
|
||||
@@ -29,18 +29,14 @@
|
||||
<html>
|
||||
<head>
|
||||
${ ie.load_default_js() }
|
||||
${ ie.load_default_app() }
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
|
||||
${ ie.default_javascript_variables() }
|
||||
var url = '${ url }';
|
||||
${ ie.plugin_require_config() }
|
||||
|
||||
|
||||
requirejs(['plugin/main'], function () {
|
||||
load_hicexplorer(url);
|
||||
});
|
||||
load_hicexplorer(url);
|
||||
|
||||
</script>
|
||||
<div id="main" width="100%" height="100%">
|
||||
|
||||
@@ -23,19 +23,14 @@
|
||||
<html>
|
||||
<head>
|
||||
${ ie.load_default_js() }
|
||||
${ ie.load_default_app() }
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
|
||||
${ ie.default_javascript_variables() }
|
||||
${ ie.default_javascript_variables() }
|
||||
var url = '${ url }';
|
||||
${ ie.plugin_require_config() }
|
||||
|
||||
|
||||
requirejs(['plugin/main'], function () {
|
||||
IES.load_when_ready(ie_readiness_url, function(){
|
||||
load_notebook(url);
|
||||
});
|
||||
IES.load_when_ready(ie_readiness_url, function(){
|
||||
load_notebook(url);
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
@@ -21,20 +21,18 @@ url = ie_request.url_template('${PROXY_URL}/phinch/')
|
||||
%>
|
||||
<html>
|
||||
<head>
|
||||
${ ie.load_default_js() }
|
||||
${ ie.load_default_js() }
|
||||
${ ie.load_default_app() }
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
${ ie.default_javascript_variables() }
|
||||
var url = '${ url }';
|
||||
${ ie.plugin_require_config() }
|
||||
|
||||
// Keep container running and load notebook
|
||||
requirejs(['plugin/main'], function(){
|
||||
keep_alive(url);
|
||||
IES.load_when_ready(ie_readiness_url, function(){
|
||||
load_notebook(url);
|
||||
});
|
||||
keep_alive(url);
|
||||
IES.load_when_ready(ie_readiness_url, function(){
|
||||
load_notebook(url);
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
@@ -27,17 +27,15 @@ notebook_access_url = ie_request.url_template('${PROXY_URL}/rstudio/')
|
||||
<html>
|
||||
<head>
|
||||
${ ie.load_default_js() }
|
||||
${ ie.load_default_app() }
|
||||
</head>
|
||||
<body style="margin: 0px">
|
||||
|
||||
<script type="text/javascript">
|
||||
${ ie.default_javascript_variables() }
|
||||
var notebook_access_url = '${ notebook_access_url }';
|
||||
${ ie.plugin_require_config() }
|
||||
requirejs(['plugin/main'], function(){
|
||||
IES.load_when_ready(ie_readiness_url, function(){
|
||||
load_notebook(notebook_access_url);
|
||||
});
|
||||
IES.load_when_ready(ie_readiness_url, function(){
|
||||
load_notebook(notebook_access_url);
|
||||
});
|
||||
</script>
|
||||
<div id="main" width="100%" height="100%">
|
||||
|
||||
Reference in New Issue
Block a user