nextcloud/core/js
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
..
dist Declare OCA.Search directly, not via a monkey patch 2020-08-31 10:31:12 +02:00
login The loading animation is back 2019-10-26 23:08:52 +02:00
public Use DOMContentLoaded and fix sharebymail loading issue 2020-07-20 12:42:08 +02:00
tests Move humanFileSize and OC.getCanonicalLocale to npm packages 2020-06-05 08:48:49 +02:00
backgroundjobs.js Use DOMContentLoaded and fix sharebymail loading issue 2020-07-20 12:42:08 +02:00
core.json Move the systemtags to core/src 2020-05-28 19:05:09 +00:00
merged-template-prepend.json Remove empty js.js 2019-05-15 10:40:53 +02:00
mimetype.js Fix usage of deprecated OC.webroot 2018-10-09 13:53:59 +02:00
mimetypelist.js Add mindmap mimetype. 2020-04-15 01:19:58 +08:00
publicshareauth.js No more jQuery 2020-02-06 20:41:42 +01:00
select2-toggleselect.js Added system tags GUI in sidebar 2016-01-19 16:24:26 +01:00
setupchecks.js Add setup check that links to the migration documentation 2020-08-19 15:45:45 +02:00
update.js Use DOMContentLoaded and fix sharebymail loading issue 2020-07-20 12:42:08 +02:00