Mercurial Hosting > sceditor
comparison 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 |
comparison
equal
deleted
inserted
replaced
15:ea930990b601 | 16:8bd52902156a |
---|---|
1 changes, most recent at top | 1 changes, most recent at top |
2 | 2 |
3 | |
4 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. | |
3 | 5 |
4 Add optional "icon" to command spec. | 6 Add optional "icon" to command spec. |
5 | 7 |
6 Formats set default format so the "format" option isn't needed. | 8 Formats set default format so the "format" option isn't needed. |
7 | 9 |