diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-01-31 18:50:59 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-02-01 08:25:01 +0100 |
commit | 0d43ef06f5dbd05edfe61e9c78461e15312834ea (patch) | |
tree | e11ee21cdca73769064e4a19bc65a48711cecaaa /core/src/globals.js | |
parent | 9de02d326799285896e163cb7b6b1b47a1a5bbb9 (diff) | |
download | nextcloud-server-0d43ef06f5dbd05edfe61e9c78461e15312834ea.tar.gz nextcloud-server-0d43ef06f5dbd05edfe61e9c78461e15312834ea.zip |
Add OC.Util to the server bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/src/globals.js')
-rw-r--r-- | core/src/globals.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/globals.js b/core/src/globals.js index ad1997c470d..4542a59b7b3 100644 --- a/core/src/globals.js +++ b/core/src/globals.js @@ -52,6 +52,7 @@ import OC from './OC/index' import OCP from './OCP/index' import OCA from './OCA/index' import escapeHTML from './Util/escapeHTML' +import humanFileSize from './Util/human-file-size' window['_'] = _ window['$'] = $ @@ -74,6 +75,7 @@ window['OC'] = OC window['OCP'] = OCP window['OCA'] = OCA window['escapeHTML'] = escapeHTML +window['humanFileSize'] = humanFileSize /** * translate a string |