Browse Source

PDF.js version 1.0.324

Yury Delendik 10 năm trước cách đây
mục cha
commit
a1313d3ba0
5 tập tin đã thay đổi với 10 bổ sung10 xóa
  1. 1 1
      bower.json
  2. 3 3
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 3 3
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.0.322",
+  "version": "1.0.324",
   "keywords": [
     "Mozilla",
     "pdf",

+ 3 - 3
build/pdf.combined.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.322';
-PDFJS.build = '001238f';
+PDFJS.version = '1.0.324';
+PDFJS.build = 'd487d42';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -21622,7 +21622,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
           // Workaround for cases where e.g. fontNameStr = 'Arial' and
           // baseFontStr = 'Arial,Bold' (needed when no font file is embedded).
           if (fontNameStr && baseFontStr &&
-              baseFontStr.search(fontNameStr) === 0) {
+              baseFontStr.indexOf(fontNameStr) === 0) {
             fontName = baseFont;
           }
         }

+ 2 - 2
build/pdf.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.322';
-PDFJS.build = '001238f';
+PDFJS.version = '1.0.324';
+PDFJS.build = 'd487d42';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 3 - 3
build/pdf.worker.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.322';
-PDFJS.build = '001238f';
+PDFJS.version = '1.0.324';
+PDFJS.build = 'd487d42';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -17106,7 +17106,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
           // Workaround for cases where e.g. fontNameStr = 'Arial' and
           // baseFontStr = 'Arial,Bold' (needed when no font file is embedded).
           if (fontNameStr && baseFontStr &&
-              baseFontStr.search(fontNameStr) === 0) {
+              baseFontStr.indexOf(fontNameStr) === 0) {
             fontName = baseFont;
           }
         }

+ 1 - 1
package.json

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