浏览代码

PDF.js version 1.0.294

Yury Delendik 10 年之前
父节点
当前提交
50240c9488
共有 5 个文件被更改,包括 16 次插入16 次删除
  1. 1 1
      bower.json
  2. 6 6
      build/pdf.combined.js
  3. 2 2
      build/pdf.js
  4. 6 6
      build/pdf.worker.js
  5. 1 1
      package.json

+ 1 - 1
bower.json

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

+ 6 - 6
build/pdf.combined.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.291';
-PDFJS.build = 'e03ac80';
+PDFJS.version = '1.0.294';
+PDFJS.build = '11c1246';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -8377,15 +8377,15 @@ var Dict = (function DictClosure() {
     getAsync: function Dict_getAsync(key1, key2, key3) {
       var value;
       var xref = this.xref;
-      if (typeof (value = this.map[key1]) !== undefined || key1 in this.map ||
-          typeof key2 === undefined) {
+      if (typeof (value = this.map[key1]) !== 'undefined' || key1 in this.map ||
+          typeof key2 === 'undefined') {
         if (xref) {
           return xref.fetchIfRefAsync(value);
         }
         return Promise.resolve(value);
       }
-      if (typeof (value = this.map[key2]) !== undefined || key2 in this.map ||
-          typeof key3 === undefined) {
+      if (typeof (value = this.map[key2]) !== 'undefined' || key2 in this.map ||
+          typeof key3 === 'undefined') {
         if (xref) {
           return xref.fetchIfRefAsync(value);
         }

+ 2 - 2
build/pdf.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.291';
-PDFJS.build = 'e03ac80';
+PDFJS.version = '1.0.294';
+PDFJS.build = '11c1246';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it

+ 6 - 6
build/pdf.worker.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.291';
-PDFJS.build = 'e03ac80';
+PDFJS.version = '1.0.294';
+PDFJS.build = '11c1246';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -3870,15 +3870,15 @@ var Dict = (function DictClosure() {
     getAsync: function Dict_getAsync(key1, key2, key3) {
       var value;
       var xref = this.xref;
-      if (typeof (value = this.map[key1]) !== undefined || key1 in this.map ||
-          typeof key2 === undefined) {
+      if (typeof (value = this.map[key1]) !== 'undefined' || key1 in this.map ||
+          typeof key2 === 'undefined') {
         if (xref) {
           return xref.fetchIfRefAsync(value);
         }
         return Promise.resolve(value);
       }
-      if (typeof (value = this.map[key2]) !== undefined || key2 in this.map ||
-          typeof key3 === undefined) {
+      if (typeof (value = this.map[key2]) !== 'undefined' || key2 in this.map ||
+          typeof key3 === 'undefined') {
         if (xref) {
           return xref.fetchIfRefAsync(value);
         }

+ 1 - 1
package.json

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