瀏覽代碼

Remove settings from application.

Afshin Darian 8 年之前
父節點
當前提交
d762514693
共有 3 個文件被更改,包括 0 次插入12 次删除
  1. 0 2
      packages/application-extension/src/index.ts
  2. 0 1
      packages/application/package.json
  3. 0 9
      packages/application/src/index.ts

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

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

+ 0 - 1
packages/application/package.json

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

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

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