Browse Source

Remove unused file and revert package template

Steven Silvester 8 years ago
parent
commit
778bf4c2c5
2 changed files with 8 additions and 147 deletions
  1. 8 8
      jupyterlab/package.template.json
  2. 0 139
      jupyterlab/src/main.ts

+ 8 - 8
jupyterlab/package.template.json

@@ -13,18 +13,18 @@
     "@jupyterlab/codemirror-extension": "^0.4.0",
     "@jupyterlab/completer-extension": "^0.4.0",
     "@jupyterlab/console-extension": "^0.4.0",
-    "@jupyterlab/csvviewer-extension": "^0.4.0",
+    "@jupyterlab/csvwidget-extension": "^0.4.0",
     "@jupyterlab/docmanager-extension": "^0.4.0",
     "@jupyterlab/docregistry-extension": "^0.4.0",
-    "@jupyterlab/fileeditor-extension": "^0.4.0",
+    "@jupyterlab/editorwidget-extension": "^0.4.0",
     "@jupyterlab/faq-extension": "^0.4.0",
     "@jupyterlab/filebrowser-extension": "^0.4.0",
     "@jupyterlab/help-extension": "^0.4.0",
-    "@jupyterlab/imageviewer-extension": "^0.4.0",
+    "@jupyterlab/imagewidget-extension": "^0.4.0",
     "@jupyterlab/inspector-extension": "^0.4.0",
     "@jupyterlab/landing-extension": "^0.4.0",
     "@jupyterlab/launcher-extension": "^0.4.0",
-    "@jupyterlab/markdownviewer-extension": "^0.4.0",
+    "@jupyterlab/markdownwidget-extension": "^0.4.0",
     "@jupyterlab/notebook-extension": "^0.4.0",
     "@jupyterlab/rendermime-extension": "^0.4.0",
     "@jupyterlab/running-extension": "^0.4.0",
@@ -58,18 +58,18 @@
       "@jupyterlab/codemirror-extension",
       "@jupyterlab/completer-extension",
       "@jupyterlab/console-extension",
-      "@jupyterlab/csvviewer-extension",
+      "@jupyterlab/csvwidget-extension",
       "@jupyterlab/docmanager-extension",
       "@jupyterlab/docregistry-extension",
-      "@jupyterlab/fileeditor-extension",
+      "@jupyterlab/editorwidget-extension",
       "@jupyterlab/faq-extension",
       "@jupyterlab/filebrowser-extension",
       "@jupyterlab/help-extension",
-      "@jupyterlab/imageviewer-extension",
+      "@jupyterlab/imagewidget-extension",
       "@jupyterlab/inspector-extension",
       "@jupyterlab/landing-extension",
       "@jupyterlab/launcher-extension",
-      "@jupyterlab/markdownviewer-extension",
+      "@jupyterlab/markdownwidget-extension",
       "@jupyterlab/notebook-extension",
       "@jupyterlab/rendermime-extension",
       "@jupyterlab/running-extension",

+ 0 - 139
jupyterlab/src/main.ts

@@ -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;
-}