diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-09-13 15:46:50 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-09-14 14:29:27 +0300 |
commit | db7cd7d5d83aef96fa53198932974e6363527c27 (patch) | |
tree | 629cc6ab54c5e99cd82abc4059a852dc194a9d43 /core/src | |
parent | 89d3b2cdd3c43386dea4f985e890ad332d8e6249 (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.js | 2 |
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 |