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:
parent
c2f1523f06
commit
3131c9b54c
@ -491,16 +491,6 @@ let animationStarted = new Promise(function (resolve) {
|
|||||||
window.requestAnimationFrame(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
|
* Simple event bus for an application. Listeners are attached using the
|
||||||
* `on` and `off` methods. To raise an event, the `dispatch` method shall be
|
* `on` and `off` methods. To raise an event, the `dispatch` method shall be
|
||||||
@ -636,7 +626,6 @@ export {
|
|||||||
PresentationModeState,
|
PresentationModeState,
|
||||||
RendererType,
|
RendererType,
|
||||||
TextLayerMode,
|
TextLayerMode,
|
||||||
mozL10n,
|
|
||||||
NullL10n,
|
NullL10n,
|
||||||
EventBus,
|
EventBus,
|
||||||
ProgressBar,
|
ProgressBar,
|
||||||
@ -652,7 +641,6 @@ export {
|
|||||||
binarySearchFirstItem,
|
binarySearchFirstItem,
|
||||||
normalizeWheelEventDelta,
|
normalizeWheelEventDelta,
|
||||||
animationStarted,
|
animationStarted,
|
||||||
localized,
|
|
||||||
WaitOnType,
|
WaitOnType,
|
||||||
waitOnEventOrTimeout,
|
waitOnEventOrTimeout,
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user