mediawiki-skins-Vector/resources/skins.vector.search
Lucas Werkmeister 86c9693693 search: Reduce skins.vector.search module size
Change I765d3bbf89 pushes the module over the configured maximum allowed
size (3 KiB, see bundlesize.config.json); shave off some bytes elsewhere
to bring it below the limit again. IMHO all of these changes should be
acceptable:

* arrow functions are already used elsewhere in this module;
* using the mw.config.get() fallback argument is normal (it slightly
  changes behavior, but I don’t think explicitly setting the search
  client or URL generator to a falsy value and expecting to get the
  default behavior should be considered supported);
* not quoting [name="search"] matches [name=title] immediately above;
* using forEach() with a function reference is still readable (initApp()
  is now called with extra arguments, but that doesn’t matter).

Change-Id: I45dda26cb59279d91804b0c2bbf12174fa78ee12
2022-09-30 19:05:03 +02:00
..
.eslintrc.json Move REST search client out of WVUI into Vector 2022-02-10 10:17:10 -06:00
App.vue Remove dependency on .cdx-typeahead-search--active class 2022-09-01 16:42:11 -04:00
config.json.d.ts Search: Use Codex and Vue 3 instead of WVUI and Vue 2. 2022-07-18 12:54:47 -07:00
fetch.js Add fetch tests from WVUI 2022-02-15 14:00:40 -06:00
instrumentation.js search: Reduce skins.vector.search module size 2022-09-30 19:05:03 +02:00
restSearchClient.js search: Reduce skins.vector.search module size 2022-09-30 19:05:03 +02:00
skins.vector.search.js search: Reduce skins.vector.search module size 2022-09-30 19:05:03 +02:00
types.js Search: Use Codex and Vue 3 instead of WVUI and Vue 2. 2022-07-18 12:54:47 -07:00
urlGenerator.js search: Reduce skins.vector.search module size 2022-09-30 19:05:03 +02:00