mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-10 10:11:25 +08:00
fix(composer): fix async composer plugin loading
This commit is contained in:
parent
7b2b495019
commit
53e1b61f87
1 changed files with 1 additions and 3 deletions
|
@ -35,9 +35,7 @@ export class Registry {
|
||||||
this._registry = new Map();
|
this._registry = new Map();
|
||||||
}
|
}
|
||||||
|
|
||||||
triggerDebounced() {
|
triggerDebounced = _.debounce(::this.trigger, 1);
|
||||||
_.debounce(()=> this.trigger(), 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
validateExtension(extension, method) {
|
validateExtension(extension, method) {
|
||||||
if (!extension || Array.isArray(extension) || !_.isObject(extension)) {
|
if (!extension || Array.isArray(extension) || !_.isObject(extension)) {
|
||||||
|
|
Loading…
Reference in a new issue