nextcloud/core/js/dist
Christoph Wurst e2d209536f
Declare OCA.Search directly, not via a monkey patch
Apps could use OCA.Search very early on a page load without a problem
prior to Nextcloud 20 (current master). Since the unified search work
moved some code around, it now was added later, resulting in `TypeError:
OCA.Search is not a constructor` errors if the apps did not wrap their
calls in a `DOMLoaded` event handler.

To ensure existing code continues to work without modification, this
patch moves the declaration of the `OCA.Search` API to where we defined
`OCA`, instead of monkey-patching it later on.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-31 10:31:12 +02:00
..
files_client.js Show mime icon, bump bundles, make the SearchResultEntry class non-abstract, Fix header search icon, various fixes 2020-08-04 21:36:22 +02:00
files_client.js.map Show mime icon, bump bundles, make the SearchResultEntry class non-abstract, Fix header search icon, various fixes 2020-08-04 21:36:22 +02:00
files_fileinfo.js Show mime icon, bump bundles, make the SearchResultEntry class non-abstract, Fix header search icon, various fixes 2020-08-04 21:36:22 +02:00
files_fileinfo.js.map Show mime icon, bump bundles, make the SearchResultEntry class non-abstract, Fix header search icon, various fixes 2020-08-04 21:36:22 +02:00
files_iedavclient.js Show mime icon, bump bundles, make the SearchResultEntry class non-abstract, Fix header search icon, various fixes 2020-08-04 21:36:22 +02:00
files_iedavclient.js.map Show mime icon, bump bundles, make the SearchResultEntry class non-abstract, Fix header search icon, various fixes 2020-08-04 21:36:22 +02:00
install.js Bump lodash from 4.17.19 to 4.17.20 2020-08-17 03:30:20 +00:00
install.js.map Hand in the route and the parameters of the request 2020-08-05 12:52:16 +00:00
login.js Declare OCA.Search directly, not via a monkey patch 2020-08-31 10:31:12 +02:00
login.js.map Declare OCA.Search directly, not via a monkey patch 2020-08-31 10:31:12 +02:00
main.js Declare OCA.Search directly, not via a monkey patch 2020-08-31 10:31:12 +02:00
main.js.map Declare OCA.Search directly, not via a monkey patch 2020-08-31 10:31:12 +02:00
maintenance.js Bump lodash from 4.17.19 to 4.17.20 2020-08-17 03:30:20 +00:00
maintenance.js.map Bump lodash from 4.17.19 to 4.17.20 2020-08-17 03:30:20 +00:00
recommendedapps.js Bump vue and vue-template-compiler 2020-08-25 12:04:16 +00:00
recommendedapps.js.map Bump vue and vue-template-compiler 2020-08-25 12:04:16 +00:00
systemtags.js Bump @nextcloud/eslint-config and peers 2020-07-31 09:35:55 +02:00
systemtags.js.map Bump @nextcloud/eslint-config and peers 2020-07-31 09:35:55 +02:00
unified-search.js Declare OCA.Search directly, not via a monkey patch 2020-08-31 10:31:12 +02:00
unified-search.js.map Declare OCA.Search directly, not via a monkey patch 2020-08-31 10:31:12 +02:00