1
0
Fork 0
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:
Wojciech Maj 2018-04-01 23:20:41 +02:00
parent 2f63ca0705
commit ea2850e9a7
16 changed files with 30 additions and 30 deletions

View file

@ -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.
*/

View file

@ -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();