1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Correct typos

This commit is contained in:
apeltop 2022-04-09 09:43:18 +09:00
parent 497c0610cd
commit a97dd26389
11 changed files with 11 additions and 11 deletions

View file

@ -80,7 +80,7 @@ const TOKEN = {
string: 22,
this: 23,
times: 24,
identifier: 25, // in main statments too
identifier: 25, // in main statements too
/* Main statements */
break: 26,

View file

@ -68,7 +68,7 @@ function parseIndex(index) {
return parseInt(index, 10) || 0;
}
// For now expressions containaing .[...] or .(...) are not
// For now expressions containing .[...] or .(...) are not
// evaluated so don't parse them.
// TODO: implement that stuff and the remove the noExpr param.
function parseExpression(expr, dotDotAllowed, noExpr = true) {

View file

@ -440,7 +440,7 @@ class XFAObject {
/**
* Update the node with properties coming from a prototype and apply
* this function recursivly to all children.
* this function recursively to all children.
*/
[$resolvePrototypes](ids, ancestors = new Set()) {
for (const child of this[_children]) {