mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
Updated dependencies and linter
This commit is contained in:
parent
4f70a79638
commit
5eb3979504
23 changed files with 383 additions and 263 deletions
|
@ -275,7 +275,7 @@ class Manager {
|
|||
callback: callback.bind(scope || this)
|
||||
};
|
||||
|
||||
if (this.dynamicHandlers.hasOwnProperty(eventType)) {
|
||||
if (Object.prototype.hasOwnProperty.call(this.dynamicHandlers, eventType)) {
|
||||
// Listener already exists, add new handler to the appropriate list
|
||||
this.dynamicHandlers[eventType].push(eventConfig);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue