From ad4e612e5ab800f5304f3dd5e87dd4d639885403 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Wed, 30 Jun 2021 09:54:35 -0400 Subject: [PATCH] Update imports for our bootstrap-tour republish --- client/gulpfile.js | 2 +- client/src/mvc/tours.js | 2 +- client/src/onload/index.js | 2 +- client/tests/qunit/test-app.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/gulpfile.js b/client/gulpfile.js index 727ea665282..a2eccc6df26 100644 --- a/client/gulpfile.js +++ b/client/gulpfile.js @@ -37,7 +37,7 @@ const paths = { // automatically. Eventually, this dictionary and staging step will // not be necessary. backbone: ["backbone.js", "backbone.js"], - "bootstrap-tour": ["build/js/bootstrap-tour.js", "bootstrap-tour.js"], + "@galaxyproject/bootstrap-tour": ["build/js/bootstrap-tour.js", "bootstrap-tour.js"], jquery: ["dist/jquery.js", "jquery/jquery.js"], "jquery.complexify": ["jquery.complexify.js", "jquery/jquery.complexify.js"], "jquery.cookie": ["jquery.cookie.js", "jquery/jquery.cookie.js"], diff --git a/client/src/mvc/tours.js b/client/src/mvc/tours.js index 1f036842bd0..185faf144ed 100644 --- a/client/src/mvc/tours.js +++ b/client/src/mvc/tours.js @@ -9,7 +9,7 @@ import _ from "underscore"; import $ from "jquery"; import Backbone from "backbone"; import { getAppRoot } from "onload/loadConfig"; -import "bootstrap-tour"; +import "@galaxyproject/bootstrap-tour"; // bootstrap-tour configures a window.Tour object; keep a local ref. const Tour = window.Tour; diff --git a/client/src/onload/index.js b/client/src/onload/index.js index 8a304ec6c62..a5644ce41af 100644 --- a/client/src/onload/index.js +++ b/client/src/onload/index.js @@ -1,7 +1,7 @@ // Bootstrap overwrites .tooltip() method, load it after jquery-ui // (which is loaded everywhere via libs/jquery.custom.js) import "bootstrap"; -import "bootstrap-tour"; +import "@galaxyproject/bootstrap-tour"; // Galaxy core styles import "scss/base.scss"; diff --git a/client/tests/qunit/test-app.js b/client/tests/qunit/test-app.js index acea5e7a8b7..d8c5619cf68 100644 --- a/client/tests/qunit/test-app.js +++ b/client/tests/qunit/test-app.js @@ -3,7 +3,7 @@ // jQuery.fn.tooltip lives on one of these 2 libs import "bootstrap"; -import "bootstrap-tour"; +import "@galaxyproject/bootstrap-tour"; import sinon from "sinon"; import Backbone from "backbone";