diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-01-28 11:24:08 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-01-28 13:32:34 +0100 |
commit | 87bc9f1fa1fceccb248254030aaed16da5e6aed8 (patch) | |
tree | 53c264c26b57ab03ccb505796147d7ceaa9430cf /core/src/globals.js | |
parent | 8d52a3ac4a9f13c7ff7197b80ba055f37ac575d3 (diff) | |
download | nextcloud-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/globals.js')
-rw-r--r-- | core/src/globals.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/src/globals.js b/core/src/globals.js index 770ae223afe..a9884f335e0 100644 --- a/core/src/globals.js +++ b/core/src/globals.js @@ -48,6 +48,10 @@ import 'snap.js/dist/snap' import 'strengthify' import 'strengthify/strengthify.css' +import OC from './OC/index' +import OCP from './OCP/index' +import OCA from './OCA/index' + window['_'] = _ window['$'] = $ window['autosize'] = autosize @@ -64,3 +68,7 @@ window['jQuery'] = $ window['marked'] = marked window['md5'] = md5 window['moment'] = moment + +window['OC'] = OC +window['OCP'] = OCP +window['OCA'] = OCA |