diff --git a/bower.json b/bower.json index 47ffcd484..d4386e8dd 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.1.431", + "version": "1.1.433", "main": [ "build/pdf.js", "build/pdf.worker.js" diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 64b9e1eea..f5c26c546 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.1.431'; -PDFJS.build = '8a27b8d'; +PDFJS.version = '1.1.433'; +PDFJS.build = '0020f33'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -45880,14 +45880,13 @@ var bidi = PDFJS.bidi = (function bidiClosure() { // don't mirror as characters are already mirrored in the pdf // Finally, return string - var result = ''; for (i = 0, ii = chars.length; i < ii; ++i) { var ch = chars[i]; - if (ch !== '<' && ch !== '>') { - result += ch; + if (ch === '<' || ch === '>') { + chars[i] = ''; } } - return createBidiText(result, isLTR); + return createBidiText(chars.join(''), isLTR); } return bidi; diff --git a/build/pdf.js b/build/pdf.js index bd5665b9c..47290ea95 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.1.431'; -PDFJS.build = '8a27b8d'; +PDFJS.version = '1.1.433'; +PDFJS.build = '0020f33'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 4456c4e6e..aa510517e 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.1.431'; -PDFJS.build = '8a27b8d'; +PDFJS.version = '1.1.433'; +PDFJS.build = '0020f33'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -39426,14 +39426,13 @@ var bidi = PDFJS.bidi = (function bidiClosure() { // don't mirror as characters are already mirrored in the pdf // Finally, return string - var result = ''; for (i = 0, ii = chars.length; i < ii; ++i) { var ch = chars[i]; - if (ch !== '<' && ch !== '>') { - result += ch; + if (ch === '<' || ch === '>') { + chars[i] = ''; } } - return createBidiText(result, isLTR); + return createBidiText(chars.join(''), isLTR); } return bidi; diff --git a/package.json b/package.json index 6ff67b558..c4e5e7a3c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.1.431", + "version": "1.1.433", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",