mirror of
https://github.com/He4eT/cheap-glkote.git
synced 2026-05-05 08:57:25 +00:00
Extracting file processing handlers
This commit is contained in:
parent
b367e16941
commit
aa6f7cabf1
3 changed files with 16 additions and 8 deletions
|
|
@ -9,6 +9,8 @@ const noopHandlers = [
|
|||
'onDisable',
|
||||
'onUpdateInputs',
|
||||
'onFileNameRequest',
|
||||
'onFileRead',
|
||||
'onFileWrite',
|
||||
'onExit',
|
||||
'setSend'
|
||||
].reduce((acc, x) => ((acc[x] = noop), acc), {})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue