Commit 5b1336de authored by Ryan Herbert's avatar Ryan Herbert

app.js fix tips.js import and separate from germline

In order to have a relevant error message when importing tips.js it
needed to be separated from the germline import. Also there was an error
in the path.
parent c3d84233
Pipeline #10695 passed with stages
in 4 minutes and 27 seconds
......@@ -28,11 +28,16 @@ require(["../git-sha1"], function () { console.log("Vidjil client " + git_sha1)
function loadAfterConf() {
require(['../../../doc/tips'],
function(){},
function(err) {
console.log("missing tips.js");
})
// Then load views (otherwise that could generate some errors if
// some files are loaded before the views)
require(["../view"], function() {
require(["../germline", "../../../doc/tips.js"],
require(["../germline"],
function() {
require(["../generic_axis"],
function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment