Remove the deprecated mozL10n and localized properties from web/ui_utils.js

With PDF.js version `2.0`, these can now be removed.
This commit is contained in:
Jonas Jenwald 2018-03-19 23:32:19 +01:00
parent c2f1523f06
commit 3131c9b54c

View File

@ -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,
};