Browse Source

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

Afshin Darian 8 years ago
parent
commit
cce09e5427
1 changed files with 1 additions and 5 deletions
  1. 1 5
      src/console/tracker.ts

+ 1 - 5
src/console/tracker.ts

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