summaryrefslogtreecommitdiffstats
path: root/core/src/OCP
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-01-28 11:24:08 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-01-28 13:32:34 +0100
commit87bc9f1fa1fceccb248254030aaed16da5e6aed8 (patch)
tree53c264c26b57ab03ccb505796147d7ceaa9430cf /core/src/OCP
parent8d52a3ac4a9f13c7ff7197b80ba055f37ac575d3 (diff)
downloadnextcloud-server-87bc9f1fa1fceccb248254030aaed16da5e6aed8.tar.gz
nextcloud-server-87bc9f1fa1fceccb248254030aaed16da5e6aed8.zip
Add OC and OCA namespace declarations to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/src/OCP')
-rw-r--r--core/src/OCP/index.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/src/OCP/index.js b/core/src/OCP/index.js
index db622f20f78..e71c0672c3c 100644
--- a/core/src/OCP/index.js
+++ b/core/src/OCP/index.js
@@ -4,8 +4,6 @@
import loader from './loader'
/** @namespace OCP */
-const OCP = {
+export default {
Loader: loader,
};
-
-window['OCP'] = Object.assign({}, window.OCP, OCP)