|
@@ -1,139 +0,0 @@
|
|
|
-// Copyright (c) Jupyter Development Team.
|
|
|
-// Distributed under the terms of the Modified BSD License.
|
|
|
-
|
|
|
-import 'es6-promise/auto'; // polyfill Promise on IE
|
|
|
-
|
|
|
-import {
|
|
|
- JupyterLab, ModuleLoader
|
|
|
-} from '@jupyterlab/application';
|
|
|
-
|
|
|
-import * as aboutExtension
|
|
|
- from '@jupyterlab/about-extension';
|
|
|
-
|
|
|
-import * as applicationExtension
|
|
|
- from '@jupyterlab/application-extension';
|
|
|
-
|
|
|
-import * as apputilsExtension
|
|
|
- from '@jupyterlab/apputils-extension';
|
|
|
-
|
|
|
-import * as codemirrorExtension
|
|
|
- from '@jupyterlab/codemirror-extension';
|
|
|
-
|
|
|
-import * as completerExtension
|
|
|
- from '@jupyterlab/completer-extension';
|
|
|
-
|
|
|
-import * as consoleExtension
|
|
|
- from '@jupyterlab/console-extension';
|
|
|
-
|
|
|
-import * as csvviewerExtension
|
|
|
- from '@jupyterlab/csvviewer-extension';
|
|
|
-
|
|
|
-import * as docmanagerExtension
|
|
|
- from '@jupyterlab/docmanager-extension';
|
|
|
-
|
|
|
-import * as docregistryExtension
|
|
|
- from '@jupyterlab/docregistry-extension';
|
|
|
-
|
|
|
-import * as fileeditorExtension
|
|
|
- from '@jupyterlab/fileeditor-extension';
|
|
|
-
|
|
|
-import * as faqExtension
|
|
|
- from '@jupyterlab/faq-extension';
|
|
|
-
|
|
|
-import * as filebrowserExtension
|
|
|
- from '@jupyterlab/filebrowser-extension';
|
|
|
-
|
|
|
-import * as helpExtension
|
|
|
- from '@jupyterlab/help-extension';
|
|
|
-
|
|
|
-import * as imageviewerExtension
|
|
|
- from '@jupyterlab/imageviewer-extension';
|
|
|
-
|
|
|
-import * as inspectorExtension
|
|
|
- from '@jupyterlab/inspector-extension';
|
|
|
-
|
|
|
-import * as landingExtension
|
|
|
- from '@jupyterlab/landing-extension';
|
|
|
-
|
|
|
-import * as launchExtension
|
|
|
- from '@jupyterlab/launcher-extension';
|
|
|
-
|
|
|
-import * as markdownviewerExtension
|
|
|
- from '@jupyterlab/markdownviewer-extension';
|
|
|
-
|
|
|
-import * as notebookExtension
|
|
|
- from '@jupyterlab/notebook-extension';
|
|
|
-
|
|
|
-import * as rendermimeExtension
|
|
|
- from '@jupyterlab/rendermime-extension';
|
|
|
-
|
|
|
-import * as runningExtension
|
|
|
- from '@jupyterlab/running-extension';
|
|
|
-
|
|
|
-import * as servicesExtension
|
|
|
- from '@jupyterlab/services-extension';
|
|
|
-
|
|
|
-import * as shortcutsExtension
|
|
|
- from '@jupyterlab/shortcuts-extension';
|
|
|
-
|
|
|
-import * as tabmanagerExtension
|
|
|
- from '@jupyterlab/tabmanager-extension';
|
|
|
-
|
|
|
-import * as terminalExtension
|
|
|
- from '@jupyterlab/terminal-extension';
|
|
|
-
|
|
|
-import * as tooltipExtension
|
|
|
- from '@jupyterlab/tooltip-extension';
|
|
|
-
|
|
|
-import 'font-awesome/css/font-awesome.min.css';
|
|
|
-import '@jupyterlab/default-theme/style/index.css';
|
|
|
-
|
|
|
-
|
|
|
-const mods: JupyterLab.IPluginModule[] = [
|
|
|
- aboutExtension,
|
|
|
- applicationExtension,
|
|
|
- apputilsExtension,
|
|
|
- codemirrorExtension,
|
|
|
- completerExtension,
|
|
|
- consoleExtension,
|
|
|
- csvviewerExtension,
|
|
|
- docmanagerExtension,
|
|
|
- docregistryExtension,
|
|
|
- fileeditorExtension,
|
|
|
- faqExtension,
|
|
|
- filebrowserExtension,
|
|
|
- helpExtension,
|
|
|
- imageviewerExtension,
|
|
|
- inspectorExtension,
|
|
|
- landingExtension,
|
|
|
- launchExtension,
|
|
|
- markdownviewerExtension,
|
|
|
- notebookExtension,
|
|
|
- rendermimeExtension,
|
|
|
- runningExtension,
|
|
|
- servicesExtension,
|
|
|
- shortcutsExtension,
|
|
|
- tabmanagerExtension,
|
|
|
- terminalExtension,
|
|
|
- tooltipExtension,
|
|
|
-];
|
|
|
-
|
|
|
-
|
|
|
-/**
|
|
|
- * Create an application object.
|
|
|
- *
|
|
|
- * @param loader - The module loader for the application.
|
|
|
- *
|
|
|
- * @returns A new application object.
|
|
|
- */
|
|
|
-export
|
|
|
-function createLab(loader: ModuleLoader): JupyterLab {
|
|
|
- const lab = new JupyterLab({
|
|
|
- loader,
|
|
|
- gitDescription: process.env.GIT_DESCRIPTION,
|
|
|
- namespace: 'jupyterlab',
|
|
|
- version: process.env.JUPYTERLAB_VERSION
|
|
|
- });
|
|
|
- lab.registerPluginModules(mods);
|
|
|
- return lab;
|
|
|
-}
|