From 3131c9b54ca0e073299ec3c077c8023770238d95 Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Mon, 19 Mar 2018 23:32:19 +0100 Subject: [PATCH] Remove the deprecated `mozL10n` and `localized` properties from `web/ui_utils.js` With PDF.js version `2.0`, these can now be removed. --- web/ui_utils.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/web/ui_utils.js b/web/ui_utils.js index b289ecd01..9d3cef36a 100644 --- a/web/ui_utils.js +++ b/web/ui_utils.js @@ -491,16 +491,6 @@ let animationStarted = new Promise(function (resolve) { window.requestAnimationFrame(resolve); }); -/** - * (deprecated) External localization service. - */ -let mozL10n; - -/** - * (deprecated) Promise that is resolved when UI localization is finished. - */ -let localized = Promise.resolve(); - /** * Simple event bus for an application. Listeners are attached using the * `on` and `off` methods. To raise an event, the `dispatch` method shall be @@ -636,7 +626,6 @@ export { PresentationModeState, RendererType, TextLayerMode, - mozL10n, NullL10n, EventBus, ProgressBar, @@ -652,7 +641,6 @@ export { binarySearchFirstItem, normalizeWheelEventDelta, animationStarted, - localized, WaitOnType, waitOnEventOrTimeout, };