Browse Source

Clean up.

Afshin Darian 8 years ago
parent
commit
c8362b905f

+ 1 - 1
src/about/plugin.ts

@@ -46,7 +46,7 @@ function activateAbout(app: JupyterLab, palette: ICommandPalette, state: IStateD
       state, layout, command,
       args: widget => null,
       name: widget => 'about',
-      namespace: 'abouts',
+      namespace: 'about',
       when: app.started,
       registry: app.commands
     }

+ 0 - 1
src/common/instancetracker.ts

@@ -38,7 +38,6 @@ import {
 } from '../statedb';
 
 
-
 /**
  * An object that tracks widget instances.
  */

+ 1 - 1
src/console/plugin.ts

@@ -134,7 +134,7 @@ function activateConsole(app: JupyterLab, services: IServiceManager, rendermime:
       command: 'console:create',
       args: panel => ({ id: panel.content.session.id }),
       name: panel => panel.content.session && panel.content.session.id,
-      namespace: 'consoles',
+      namespace: 'console',
       when: [app.started, manager.ready],
       registry: app.commands
     }

+ 1 - 1
src/csvwidget/plugin.ts

@@ -59,7 +59,7 @@ function activateCSVWidget(app: JupyterLab, registry: IDocumentRegistry, state:
       command: 'file-operations:open',
       args: widget => ({ path: widget.context.path, factory: FACTORY }),
       name: widget => widget.context.path,
-      namespace: 'csvwidgets',
+      namespace: 'csvwidget',
       when: app.started,
       registry: app.commands
     }

+ 1 - 1
src/editorwidget/plugin.ts

@@ -111,7 +111,7 @@ function activateEditorHandler(app: JupyterLab, registry: IDocumentRegistry, mai
       command: 'file-operations:open',
       args: widget => ({ path: widget.context.path, factory: FACTORY }),
       name: widget => widget.context.path,
-      namespace: 'editors',
+      namespace: 'editor',
       when: app.started,
       registry: app.commands
     }

+ 1 - 1
src/faq/plugin.ts

@@ -54,7 +54,7 @@ function activateFAQ(app: JupyterLab, palette: ICommandPalette, linker: ICommand
       state, layout, command,
       args: widget => null,
       name: widget => 'faq',
-      namespace: 'faqs',
+      namespace: 'faq',
       when: app.started,
       registry: app.commands
     }

+ 1 - 1
src/imagewidget/plugin.ts

@@ -74,7 +74,7 @@ function activateImageWidget(app: JupyterLab, registry: IDocumentRegistry, palet
       command: 'file-operations:open',
       args: widget => ({ path: widget.context.path, factory: FACTORY }),
       name: widget => widget.context.path,
-      namespace: 'images',
+      namespace: 'imagewidget',
       when: app.started,
       registry: app.commands
     }

+ 1 - 1
src/inspector/plugin.ts

@@ -105,7 +105,7 @@ function activateInspector(app: JupyterLab, palette: ICommandPalette, state: ISt
       state, layout, command,
       args: widget => null,
       name: widget => 'inspector',
-      namespace: 'inspectors',
+      namespace: 'inspector',
       when: app.started,
       registry: app.commands
     }

+ 1 - 1
src/notebook/plugin.ts

@@ -155,7 +155,7 @@ function activateNotebookHandler(app: JupyterLab, registry: IDocumentRegistry, s
       command: 'file-operations:open',
       args: widget => ({ path: widget.context.path, factory: FACTORY }),
       name: widget => widget.context.path,
-      namespace: 'notebooks',
+      namespace: 'notebook',
       when: [app.started, services.ready],
       registry: app.commands
     }

+ 1 - 1
src/terminal/plugin.ts

@@ -92,7 +92,7 @@ function activateTerminal(app: JupyterLab, services: IServiceManager, mainMenu:
       command: newTerminalId,
       args: widget => ({ name: widget.session.name }),
       name: widget => widget.session && widget.session.name,
-      namespace: 'terminals',
+      namespace: 'terminal',
       when: app.started,
       registry: app.commands
     }