mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Remove unused imports from toolshed bundle
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* The big list of horrible globals we expose on window.bundleEntries.
|
||||
* The the toolshed list of globals we expose on window.bundleToolshed.
|
||||
*
|
||||
* Everything that is exposed on this global variable is something that the python templates
|
||||
* require for their hardcoded initializations. These objects are going to have to continue
|
||||
@@ -11,73 +11,6 @@
|
||||
import $ from "jquery";
|
||||
import _ from "underscore"; // eslint-disable-line no-unused-vars
|
||||
|
||||
export { getGalaxyInstance, setGalaxyInstance } from "app";
|
||||
import { TracksterUIView } from "viz/trackster";
|
||||
export { TracksterUI } from "viz/trackster";
|
||||
import Circster from "viz/circster";
|
||||
export { PhylovizView as phyloviz } from "viz/phyloviz";
|
||||
export { SweepsterVisualization, SweepsterVisualizationView } from "viz/sweepster";
|
||||
export { createTabularDatasetChunkedView } from "mvc/dataset/data";
|
||||
import { HistoryCollection } from "mvc/history/history-model";
|
||||
export { History } from "mvc/history/history-model";
|
||||
export { HistoryContents } from "mvc/history/history-contents";
|
||||
import MultiPanel from "mvc/history/multi-panel";
|
||||
export { historyEntry as history } from "mvc/history/history-view";
|
||||
export { default as HistoryViewAnnotated } from "mvc/history/history-view-annotated";
|
||||
export { default as HistoryCopyDialog } from "mvc/history/copy-dialog";
|
||||
export { default as HDAListItemEdit } from "mvc/history/hda-li-edit";
|
||||
export { default as HDAModel } from "mvc/history/hda-model";
|
||||
export { default as LegacyGridView } from "legacy/grid/grid-view";
|
||||
export { create_chart, create_histogram } from "reports/run_stats";
|
||||
export { default as ToolshedGroups } from "toolshed/toolshed.groups";
|
||||
export { openGlobalUploadModal } from "components/Upload";
|
||||
export { runTour } from "components/Tour/runTour";
|
||||
export { Toast } from "ui/toast"; // TODO: remove when external consumers are updated/gone (IES right now)
|
||||
|
||||
export function trackster(options) {
|
||||
new TracksterUIView(options);
|
||||
}
|
||||
|
||||
export function circster(options) {
|
||||
new Circster.GalaxyApp(options);
|
||||
}
|
||||
|
||||
export function multiHistory(options) {
|
||||
const histories = new HistoryCollection([], {
|
||||
includeDeleted: options.includingDeleted,
|
||||
order: options.order,
|
||||
limitOnFirstFetch: options.limit,
|
||||
limitPerFetch: options.limit,
|
||||
currentHistoryId: options.current_history_id,
|
||||
});
|
||||
const multipanel = new MultiPanel.MultiPanelColumns({
|
||||
el: $("#center").get(0),
|
||||
histories: histories,
|
||||
});
|
||||
|
||||
histories.fetchFirst({ silent: true }).done(function () {
|
||||
multipanel.createColumns();
|
||||
multipanel.render(0);
|
||||
});
|
||||
}
|
||||
|
||||
// Previously wandering around as window.thing = thing in the onload script
|
||||
export { show_in_overlay, hide_modal, show_message, show_modal, Modal } from "layout/modal";
|
||||
export { make_popupmenu, make_popup_menus } from "ui/popupmenu";
|
||||
export { render_embedded_items } from "mvc/embedded-objects";
|
||||
export { default as async_save_text } from "utils/async-save-text";
|
||||
|
||||
// Previously "chart"
|
||||
import Client from "mvc/visualization/chart/chart-client";
|
||||
export function chart(options) {
|
||||
return new Client(options);
|
||||
}
|
||||
|
||||
export { initMasthead } from "components/Masthead/initMasthead";
|
||||
export { mountMakoTags } from "components/Tags";
|
||||
export { mountWorkflowEditor } from "components/Workflow/Editor/mount";
|
||||
export { mountPageEditor } from "components/PageEditor/mount";
|
||||
export { mountPageDisplay } from "components/PageDisplay";
|
||||
|
||||
// Used in common.mako
|
||||
export { default as store } from "storemodern";
|
||||
|
||||
Reference in New Issue
Block a user