mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-10-14 23:11:58 +00:00
Clean up a bunch of linting stuff. Clean up event listeners in tooltips to stop potential memory leaks.
This commit is contained in:
parent
f506b512b4
commit
7ecd45fcfb
23 changed files with 70 additions and 79 deletions
|
@ -273,7 +273,7 @@ export default class SettingsContext extends EventEmitter {
|
|||
|
||||
return type.get(key, this.profiles(), this.manager.log);
|
||||
}
|
||||
/* for(const profile of this.__profiles)
|
||||
/* for(const profile of this.__profiles)
|
||||
if ( profile.has(key) )
|
||||
return [profile.get(key), profile]
|
||||
}*/
|
||||
|
|
|
@ -76,7 +76,7 @@ export default class SettingsManager extends Module {
|
|||
this.loadProfiles(true);
|
||||
|
||||
// Handle migrations.
|
||||
await this.migrations.process('core');
|
||||
//await this.migrations.process('core');
|
||||
|
||||
// Now we can tell our context(s) about the profiles we have.
|
||||
for(const context of this.__contexts)
|
||||
|
|
|
@ -10,7 +10,7 @@ export default class MigrationManager {
|
|||
this.provider = manager.provider;
|
||||
}
|
||||
|
||||
process(key) {
|
||||
return false;
|
||||
process() { // eslint-disable-line class-methods-use-this
|
||||
throw new Error('Not Implemented');
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue