Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-09-13 15:46:50 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2019-09-14 14:29:27 +0300
commitdb7cd7d5d83aef96fa53198932974e6363527c27 (patch)
tree629cc6ab54c5e99cd82abc4059a852dc194a9d43 /core/src
parent89d3b2cdd3c43386dea4f985e890ad332d8e6249 (diff)
Deprecate the global DOMPurify
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/globals.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/globals.js b/core/src/globals.js
index 77627eb07bd..8f0fe6dbf86 100644
--- a/core/src/globals.js
+++ b/core/src/globals.js
@@ -107,7 +107,7 @@ window['Clipboard'] = ClipboardJS
window['ClipboardJS'] = ClipboardJS
window['cssVars'] = cssVars
window['dav'] = dav
-window['DOMPurify'] = DOMPurify
+setDeprecatedProp('DOMPurify', () => DOMPurify, 'The global DOMPurify is deprecated, ship your own')
window['Handlebars'] = Handlebars
window['jstimezonedetect'] = jstimezonedetect
window['jstz'] = jstimezonedetect