mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-12 01:01:29 +00:00
203a1cde34
The search index is really only used in a single place, in the buildSearchResults method at the very bottom of the class. I find it more obvious to understand what's going on when the places where the search index is populated and used are as close together as possible. This again really only moves existing code around without actually changing anything. We can also drop the extra "built" property and use a special null value instead. This is possible because we know the only consumer of the this.index property and can guarantee it can't get confused by the null. Bug: T356871 Change-Id: Iaddb3b16b3aa776f89fca2bf0350cce9b6bb1a23 |
||
---|---|---|
.. | ||
ext.cite.referencePreviews | ||
ve-cite | ||
.eslintrc.json |