You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
Chore: Implement cSpell to detect spelling mistakes in codebase (#10001)
Co-authored-by: Helmut K. C. Tessarek <tessarek@evermeet.cx> Co-authored-by: Henry Heino <46334387+personalizedrefrigerator@users.noreply.github.com>
This commit is contained in:
@@ -25,7 +25,7 @@ export default class EventDispatcher<EventKeyType extends string|symbol|number,
|
||||
this.listeners[eventName].push(callback);
|
||||
|
||||
return {
|
||||
// Retuns false if the listener has already been removed, true otherwise.
|
||||
// Returns false if the listener has already been removed, true otherwise.
|
||||
remove: (): boolean => {
|
||||
const originalListeners = this.listeners[eventName];
|
||||
this.off(eventName, callback);
|
||||
|
||||
Reference in New Issue
Block a user