1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-07 06:40:54 +00:00
* Fixed: The Channel Title settings profile not working.
* Fixed: Remove an unnecessary import that VS Code *helpfully* forced into the channel module last commit.
* Changed: Only load the `safe-regex` module on demand, it's kind of hefty.
This commit is contained in:
SirStendec 2020-07-18 16:27:45 -04:00
parent 22c60050e0
commit 5b76e7c22a
6 changed files with 50 additions and 21 deletions

View file

@ -5,7 +5,7 @@
// ============================================================================
import Module from 'utilities/module';
import {deep_equals, has} from 'utilities/object';
import {deep_equals, has, debounce} from 'utilities/object';
import {CloudStorageProvider, LocalStorageProvider} from './providers';
import SettingsProfile from './profile';
@ -32,6 +32,8 @@ export default class SettingsManager extends Module {
constructor(...args) {
super(...args);
this.updateSoon = debounce(() => this.updateRoutes(), 50, false);
// State
this.__contexts = [];
this.__profiles = [];