From d87e5755c73c59c3dfc4291b76da059fe8a81675 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Fri, 1 Dec 2017 15:14:56 -0500 Subject: [PATCH] Tours import/export cleanup. tour_opts is internal only. --- client/galaxy/scripts/mvc/tours.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/galaxy/scripts/mvc/tours.js b/client/galaxy/scripts/mvc/tours.js index 8d0885e3d35..82a6f7cd24e 100644 --- a/client/galaxy/scripts/mvc/tours.js +++ b/client/galaxy/scripts/mvc/tours.js @@ -4,7 +4,10 @@ import _l from "utils/localization"; * rendering a tour menu. */ -import * as BootstrapTour from "libs/bootstrap-tour"; +// bootstrap-tour configures a window.Tour object; keep a local ref. +import "libs/bootstrap-tour"; +let Tour = window.Tour; + var gxy_root = typeof Galaxy === "undefined" ? "/" : Galaxy.root; var tourpage_template = `

Galaxy Tours

@@ -211,7 +214,6 @@ export function activeGalaxyTourRunner() { export default { ToursView: ToursView, hooked_tour_from_data: hooked_tour_from_data, - tour_opts: tour_opts, giveTour: giveTour, activeGalaxyTourRunner: activeGalaxyTourRunner };