Mercurial Hosting > sceditor
diff src/changes.txt @ 16:8bd52902156a
remove "this" from command functions
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 07 Aug 2022 21:41:55 -0600 |
parents | ea930990b601 |
children | 499f38b5eeff |
line wrap: on
line diff
--- a/src/changes.txt Sun Aug 07 17:00:41 2022 -0600 +++ b/src/changes.txt Sun Aug 07 21:41:55 2022 -0600 @@ -1,6 +1,8 @@ changes, most recent at top +Removed "this" from command functions and instead pass "editor" as first arg. Javascript's object-oriented features are a disgusting hack and should never be used. I will remove uses of this as I encounter them. + Add optional "icon" to command spec. Formats set default format so the "format" option isn't needed.