You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-18 23:07:45 +02:00
Tools: Added eslint rule arrow-parens
This commit is contained in:
@ -39,7 +39,7 @@ class PluginManager {
|
||||
const p = this.plugins_[name];
|
||||
if (p.instance) return p.instance;
|
||||
p.instance = new p.Class();
|
||||
p.instance.dispatch = action => this.dispatch_(action);
|
||||
p.instance.dispatch = (action) => this.dispatch_(action);
|
||||
return p.instance;
|
||||
}
|
||||
|
||||
@ -73,7 +73,7 @@ class PluginManager {
|
||||
|
||||
dialogProps_(name) {
|
||||
return {
|
||||
dispatch: action => this.dispatch_(action),
|
||||
dispatch: (action) => this.dispatch_(action),
|
||||
plugin: this.pluginInstance_(name),
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user