Move tab logic into a new TabWaiter

This commit is contained in:
j433866 2019-06-06 16:33:35 +01:00
parent 98af95a6ce
commit c2087f6d5f
10 changed files with 523 additions and 462 deletions

View file

@ -16,6 +16,7 @@ import HighlighterWaiter from "./waiters/HighlighterWaiter";
import SeasonalWaiter from "./waiters/SeasonalWaiter";
import BindingsWaiter from "./waiters/BindingsWaiter";
import BackgroundWorkerWaiter from "./waiters/BackgroundWorkerWaiter";
import TabWaiter from "./waiters/TabWaiter";
/**
@ -70,6 +71,7 @@ class Manager {
this.seasonal = new SeasonalWaiter(this.app, this);
this.bindings = new BindingsWaiter(this.app, this);
this.background = new BackgroundWorkerWaiter(this.app, this);
this.tabs = new TabWaiter(this.app, this);
// Object to store dynamic handlers to fire on elements that may not exist yet
this.dynamicHandlers = {};