Sfoglia il codice sorgente

Notebook tracker should just be a map that references widget IDs to notebook panels. It is meant to be used with the app shell's current state.

Afshin Darian 8 anni fa
parent
commit
d0b99517f1
1 ha cambiato i file con 1 aggiunte e 5 eliminazioni
  1. 1 5
      src/notebook/tracker.ts

+ 1 - 5
src/notebook/tracker.ts

@@ -5,10 +5,6 @@ import {
   Token
 } from 'phosphor/lib/core/token';
 
-import {
-  FocusTracker
-} from 'phosphor/lib/ui/focustracker';
-
 import {
   NotebookPanel
 } from './';
@@ -27,4 +23,4 @@ const INotebookTracker = new Token<INotebookTracker>('jupyter.services.notebooks
  * A class that tracks notebook widgets.
  */
 export
-interface INotebookTracker extends FocusTracker<NotebookPanel> {}
+interface INotebookTracker extends Map<string, NotebookPanel> {}