1
0
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:
Laurent Cozic
2024-02-26 10:16:23 +00:00
committed by GitHub
parent 69cbd45782
commit 47f95cb294
187 changed files with 511 additions and 288 deletions

View File

@@ -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);