From b9e7fd2418a1d96fa6faca0621377bc05270afee Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 14 May 2020 11:38:03 +0200 Subject: Remove the escape-html global Already announced for 19 that it would go. So now it realy does go. Signed-off-by: Roeland Jago Douma Signed-off-by: npmbuildbot[bot] --- core/src/globals.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'core/src/globals.js') diff --git a/core/src/globals.js b/core/src/globals.js index b10068ba33f..275ea782d01 100644 --- a/core/src/globals.js +++ b/core/src/globals.js @@ -53,7 +53,6 @@ import 'strengthify/strengthify.css' import OC from './OC/index' import OCP from './OCP/index' import OCA from './OCA/index' -import escapeHTML from 'escape-html' import { getToken as getRequestToken } from './OC/requesttoken' const warnIfNotTesting = function() { @@ -126,7 +125,6 @@ setDeprecatedProp('oc_webroot', () => OC.webroot, 'use OC.getRootPath() instead, setDeprecatedProp('OCDialogs', () => OC.dialogs, 'use OC.dialogs instead, this will be removed in Nextcloud 20') window['OCP'] = OCP window['OCA'] = OCA -window['escapeHTML'] = deprecate(escapeHTML, 'escapeHTML', 19) $.fn.select2 = deprecate($.fn.select2, 'select2', 19) /** -- cgit v1.2.3