Browse Source

Remove settings from application.

Afshin Darian 8 years ago
parent
commit
d762514693

+ 0 - 2
packages/application-extension/src/index.ts

@@ -42,8 +42,6 @@ const plugin: JupyterLabPlugin<void> = {
   id: 'jupyter.extensions.main',
   id: 'jupyter.extensions.main',
   requires: [ICommandPalette],
   requires: [ICommandPalette],
   activate: (app: JupyterLab, palette: ICommandPalette) => {
   activate: (app: JupyterLab, palette: ICommandPalette) => {
-    app.settings.setDB(new StateDB({ namespace: 'jupyter.db.settings' }));
-
     addCommands(app, palette);
     addCommands(app, palette);
 
 
     // Temporary build message for manual rebuild.
     // Temporary build message for manual rebuild.

+ 0 - 1
packages/application/package.json

@@ -13,7 +13,6 @@
     "lib": "lib/"
     "lib": "lib/"
   },
   },
   "dependencies": {
   "dependencies": {
-    "@jupyterlab/coreutils": "^0.6.0",
     "@phosphor/algorithm": "^1.1.0",
     "@phosphor/algorithm": "^1.1.0",
     "@phosphor/application": "^1.2.0",
     "@phosphor/application": "^1.2.0",
     "@phosphor/coreutils": "^1.1.0",
     "@phosphor/coreutils": "^1.1.0",

+ 0 - 9
packages/application/src/index.ts

@@ -1,10 +1,6 @@
 // Copyright (c) Jupyter Development Team.
 // Copyright (c) Jupyter Development Team.
 // Distributed under the terms of the Modified BSD License.
 // Distributed under the terms of the Modified BSD License.
 
 
-import {
-  ISettingRegistry, SettingRegistry
-} from '@jupyterlab/coreutils';
-
 import {
 import {
   Application, IPlugin
   Application, IPlugin
 } from '@phosphor/application';
 } from '@phosphor/application';
@@ -64,11 +60,6 @@ class JupyterLab extends Application<ApplicationShell> {
     return this.shell.restored;
     return this.shell.restored;
   }
   }
 
 
-  /**
-   * The setting registry for the application.
-   */
-  readonly settings: ISettingRegistry = new SettingRegistry();
-
   /**
   /**
    * Register plugins from a plugin module.
    * Register plugins from a plugin module.
    *
    *