Browse Source

PDF.js version 1.0.145

Yury Delendik 10 years ago
parent
commit
146ac52b7f
5 changed files with 20 additions and 20 deletions
  1. 1 1
      bower.json
  2. 6 6
      build/pdf.combined.js
  3. 6 6
      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.143",
+  "version": "1.0.145",
   "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.143';
-PDFJS.build = '70da61f';
+PDFJS.version = '1.0.145';
+PDFJS.build = 'b3f24ca';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -3043,14 +3043,14 @@ var PostScriptEvaluator = (function PostScriptEvaluatorClosure() {
             break;
           case 'neg':
             a = stack.pop();
-            stack.push(-b);
+            stack.push(-a);
             break;
           case 'not':
             a = stack.pop();
-            if (isBool(a) && isBool(b)) {
-              stack.push(a && b);
+            if (isBool(a)) {
+              stack.push(!a);
             } else {
-              stack.push(a & b);
+              stack.push(~a);
             }
             break;
           case 'or':

+ 6 - 6
build/pdf.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.143';
-PDFJS.build = '70da61f';
+PDFJS.version = '1.0.145';
+PDFJS.build = 'b3f24ca';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -3043,14 +3043,14 @@ var PostScriptEvaluator = (function PostScriptEvaluatorClosure() {
             break;
           case 'neg':
             a = stack.pop();
-            stack.push(-b);
+            stack.push(-a);
             break;
           case 'not':
             a = stack.pop();
-            if (isBool(a) && isBool(b)) {
-              stack.push(a && b);
+            if (isBool(a)) {
+              stack.push(!a);
             } else {
-              stack.push(a & b);
+              stack.push(~a);
             }
             break;
           case 'or':

+ 6 - 6
build/pdf.worker.js

@@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
   (typeof window !== 'undefined' ? window : this).PDFJS = {};
 }
 
-PDFJS.version = '1.0.143';
-PDFJS.build = '70da61f';
+PDFJS.version = '1.0.145';
+PDFJS.build = 'b3f24ca';
 
 (function pdfjsWrapper() {
   // Use strict in our context only - users might not want it
@@ -3043,14 +3043,14 @@ var PostScriptEvaluator = (function PostScriptEvaluatorClosure() {
             break;
           case 'neg':
             a = stack.pop();
-            stack.push(-b);
+            stack.push(-a);
             break;
           case 'not':
             a = stack.pop();
-            if (isBool(a) && isBool(b)) {
-              stack.push(a && b);
+            if (isBool(a)) {
+              stack.push(!a);
             } else {
-              stack.push(a & b);
+              stack.push(~a);
             }
             break;
           case 'or':

+ 1 - 1
package.json

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