Merge pull request #17130 from nextcloud/refactor/deprecate-global-dompurify

Deprecate the global DOMPurify
This commit is contained in:
Roeland Jago Douma 2019-09-14 13:38:45 +02:00 committed by GitHub
commit 4cae5ae368
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 1 deletions

BIN
core/js/dist/main.js vendored

Binary file not shown.

Binary file not shown.

View file

@ -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