Jelajahi Sumber

PDF.js version 1.1.276

Pdf Bot 9 tahun lalu
induk
melakukan
1c1c41ae36
5 mengubah file dengan 12 tambahan dan 14 penghapusan
  1. 1 1
      bower.json
  2. 4 5
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 4 5
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.1.274",
+  "version": "1.1.276",
   "main": [
     "build/pdf.js",
     "build/pdf.worker.js"

+ 4 - 5
build/pdf.combined.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.274';
-PDFJS.build = '5af49f8';
+PDFJS.version = '1.1.276';
+PDFJS.build = '6c1906f';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -37655,9 +37655,8 @@ var Lexer = (function LexerClosure() {
           strBuf.push(String.fromCharCode(ch));
         }
       }
-      if (strBuf.length > 128) {
-        error('Warning: name token is longer than allowed by the spec: ' +
-              strBuf.length);
+      if (strBuf.length > 127) {
+        warn('name token is longer than allowed by the spec: ' + strBuf.length);
       }
       return Name.get(strBuf.join(''));
     },

+ 2 - 2
build/pdf.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.274';
-PDFJS.build = '5af49f8';
+PDFJS.version = '1.1.276';
+PDFJS.build = '6c1906f';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 4 - 5
build/pdf.worker.js

@@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.1.274';
-PDFJS.build = '5af49f8';
+PDFJS.version = '1.1.276';
+PDFJS.build = '6c1906f';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -31249,9 +31249,8 @@ var Lexer = (function LexerClosure() {
           strBuf.push(String.fromCharCode(ch));
         }
       }
-      if (strBuf.length > 128) {
-        error('Warning: name token is longer than allowed by the spec: ' +
-              strBuf.length);
+      if (strBuf.length > 127) {
+        warn('name token is longer than allowed by the spec: ' + strBuf.length);
       }
       return Name.get(strBuf.join(''));
     },

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.1.274",
+  "version": "1.1.276",
   "description": "Generic build of Mozilla's PDF.js library.",
   "keywords": [
     "Mozilla",