XKit-Rewritten icon indicating copy to clipboard operation
XKit-Rewritten copied to clipboard

Replace jQuery cleanup functions with vanilla JS

Open marcustyphoon opened this issue 3 years ago • 1 comments

Here's a totally random idea I had: rather than using jQuery's ergonomic "do XYZ to every element matched by this selector" functions in clean(), we could import them from a utility file.

This is mostly because I occasionally mistype $(`.${className}`).removeClass(className), or have to pause to dash-case a data attribute, and because VS Code automatically imports XKit Rewritten's utility files when it autocompletes.

User-facing changes

  • n/a

Technical explanation

n/a

Issues this closes

n/a

marcustyphoon avatar Aug 13 '22 07:08 marcustyphoon

(currently untested ~~and unimplemented; will do properly if you are interested~~)

marcustyphoon avatar Aug 13 '22 07:08 marcustyphoon