Commit Graph

14 Commits

Author SHA1 Message Date
AUTOMATIC1111
1466daeafc Disable prompt token counters option actually disables token counting rather than just hiding results.
Disable prompt token counters option does not require reload UI.
token counters do not become visible until they are positioned correctly.
2024-02-17 10:31:16 +03:00
AUTOMATIC1111
c7e810a985 add onEdit function for js and rework token-counter.js to use it 2023-10-01 10:15:23 +03:00
AUTOMATIC1111
df595ae313 make resize handle available to extensions 2023-08-21 08:48:46 +03:00
AUTOMATIC1111
e053e21af6 put localStorage stuff into its own file 2023-08-05 08:48:03 +03:00
Aarni Koskela
bc53ecf298 Add onAfterUiUpdate callback 2023-05-25 09:09:01 +03:00
Aarni Koskela
5ed970b949 Move token counters to separate JS file, fix names 2023-05-21 23:25:06 +03:00
Aarni Koskela
563e88dd91 Replace args_to_array (and facsimiles) with Array.from 2023-05-19 13:05:26 +03:00
Aarni Koskela
3909c2b2a0 eslintrc: enable no-redeclare but with builtinGlobals: false 2023-05-19 12:57:38 +03:00
Aarni Koskela
247f371d3e eslintrc: mark most globals read-only 2023-05-19 12:57:38 +03:00
Aarni Koskela
958d68fb14 eslintrc: Use a file-local global comment for module 2023-05-19 12:46:44 +03:00
Aarni Koskela
208f066e0e eslintrc: Sort eslint rules 2023-05-19 12:46:41 +03:00
AUTOMATIC
994f56c3f9 linter fixes 2023-05-19 09:54:55 +03:00
AUTOMATIC
f88169a9e7 extend eslint config 2023-05-18 09:58:49 +03:00
Aarni Koskela
13f4c62ba3 Add basic ESLint configuration for formatting
This doesn't enable any of ESLint's actual possible-issue linting,
but just style normalization based on the Prettier configuration (but without line length limits).
2023-05-17 16:09:06 +03:00