mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 23:28:06 +02:00
Fix typos
This commit is contained in:
parent
2f63ca0705
commit
ea2850e9a7
16 changed files with 30 additions and 30 deletions
|
@ -35,7 +35,7 @@ const SWIPE_ANGLE_THRESHOLD = Math.PI / 6;
|
|||
* @property {HTMLDivElement} viewer - (optional) The viewer element.
|
||||
* @property {PDFViewer} pdfViewer - The document viewer.
|
||||
* @property {EventBus} eventBus - The application event bus.
|
||||
* @property {Array} contextMenuItems - (optional) The menuitems that are added
|
||||
* @property {Array} contextMenuItems - (optional) The menu items that are added
|
||||
* to the context menu in Presentation Mode.
|
||||
*/
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ function formatL10nValue(text, args) {
|
|||
}
|
||||
|
||||
/**
|
||||
* No-op implemetation of the localization service.
|
||||
* No-op implementation of the localization service.
|
||||
* @implements {IL10n}
|
||||
*/
|
||||
let NullL10n = {
|
||||
|
@ -483,7 +483,7 @@ function waitOnEventOrTimeout({ target, name, delay = 0, }) {
|
|||
if (typeof target !== 'object' || !(name && typeof name === 'string') ||
|
||||
!(Number.isInteger(delay) && delay >= 0)) {
|
||||
return Promise.reject(
|
||||
new Error('waitOnEventOrTimeout - invalid paramaters.'));
|
||||
new Error('waitOnEventOrTimeout - invalid parameters.'));
|
||||
}
|
||||
let capability = createPromiseCapability();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue