mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 06:27:02 +03:00
Cleanup some JavaScript
This commit is contained in:
parent
18fbf332c2
commit
24b638cd82
16 changed files with 64 additions and 88 deletions
|
|
@ -328,6 +328,10 @@ export const
|
|||
l && l.remove();
|
||||
},
|
||||
|
||||
/**
|
||||
* Used by ko.bindingHandlers.command (template data-bind="command: ")
|
||||
* to enable/disable click/submit action.
|
||||
*/
|
||||
decorateKoCommands = (thisArg, commands) =>
|
||||
forEachObjectEntry(commands, (key, canExecute) => {
|
||||
let command = thisArg[key],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue