mediawiki-extensions-Cite/tests/qunit/ve-cite
thiemowmde 203a1cde34 Further delay search index build in ReferenceSearchWidget
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
2024-04-04 15:13:50 +02:00
..
.eslintrc.json Move ve-cite QUnit tests to top-level tests/ directory 2024-04-03 12:03:33 +02:00
ve.dm.citeExample.js Move ve-cite QUnit tests to top-level tests/ directory 2024-04-03 12:03:33 +02:00
ve.dm.Converter.test.js Move ve-cite QUnit tests to top-level tests/ directory 2024-04-03 12:03:33 +02:00
ve.dm.InternalList.test.js Move ve-cite QUnit tests to top-level tests/ directory 2024-04-03 12:03:33 +02:00
ve.dm.MWReferenceModel.test.js Move ve-cite QUnit tests to top-level tests/ directory 2024-04-03 12:03:33 +02:00
ve.dm.MWReferenceNode.test.js Move ve-cite QUnit tests to top-level tests/ directory 2024-04-03 12:03:33 +02:00
ve.dm.MWReferencesListNode.test.js Move ve-cite QUnit tests to top-level tests/ directory 2024-04-03 12:03:33 +02:00
ve.dm.Transaction.test.js Move ve-cite QUnit tests to top-level tests/ directory 2024-04-03 12:03:33 +02:00
ve.ui.DiffElement.test.js Move ve-cite QUnit tests to top-level tests/ directory 2024-04-03 12:03:33 +02:00
ve.ui.MWCitationDialogTool.test.js Move ve-cite QUnit tests to top-level tests/ directory 2024-04-03 12:03:33 +02:00
ve.ui.MWReferenceContextItem.test.js Move ve-cite QUnit tests to top-level tests/ directory 2024-04-03 12:03:33 +02:00
ve.ui.MWReferenceDialog.test.js Move ve-cite QUnit tests to top-level tests/ directory 2024-04-03 12:03:33 +02:00
ve.ui.MWReferenceGroupInputWidget.test.js Move ve-cite QUnit tests to top-level tests/ directory 2024-04-03 12:03:33 +02:00
ve.ui.MWReferenceResultWidget.test.js Move ve-cite QUnit tests to top-level tests/ directory 2024-04-03 12:03:33 +02:00
ve.ui.MWReferenceSearchWidget.test.js Further delay search index build in ReferenceSearchWidget 2024-04-04 15:13:50 +02:00
ve.ui.MWReferencesListDialog.test.js Move ve-cite QUnit tests to top-level tests/ directory 2024-04-03 12:03:33 +02:00
ve.ui.MWUseExistingReferenceCommand.test.js Move ve-cite QUnit tests to top-level tests/ directory 2024-04-03 12:03:33 +02:00
ve.ui.MWWikitextStringTransferHandler.test.js Move ve-cite QUnit tests to top-level tests/ directory 2024-04-03 12:03:33 +02:00