Przeglądaj źródła

Change jupyterlab-toc extension id to toc

Martha Cryan 5 lat temu
rodzic
commit
9cd0156b2b
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      packages/toc/src/extension.ts
  2. 1 1
      packages/toc/src/registry.ts

+ 1 - 1
packages/toc/src/extension.ts

@@ -144,7 +144,7 @@ async function activateTOC(
  * @private
  */
 const extension: JupyterFrontEndPlugin<ITableOfContentsRegistry> = {
-  id: 'jupyterlab-toc',
+  id: 'toc',
   autoStart: true,
   provides: ITableOfContentsRegistry,
   requires: [

+ 1 - 1
packages/toc/src/registry.ts

@@ -18,7 +18,7 @@ export interface ITableOfContentsRegistry extends TableOfContentsRegistry {}
  * Table of contents registry token.
  */
 export const ITableOfContentsRegistry = new Token<TableOfContentsRegistry>(
-  'jupyterlab-toc:ITableOfContentsRegistry'
+  'toc:ITableOfContentsRegistry'
 );
 /* tslint:enable */