Browse Source

PDF.js version 1.0.402

master v1.0.402
Yury Delendik 10 years ago
parent
commit
025e8392f6
  1. 2
      bower.json
  2. 21
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 21
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

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

21
build/pdf.combined.js

@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.400'; PDFJS.version = '1.0.402';
PDFJS.build = 'cf4bc42'; PDFJS.build = 'b557b87';
(function pdfjsWrapper() { (function pdfjsWrapper() {
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it
@ -22041,9 +22041,9 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
return new Promise(function next(resolve, reject) { return new Promise(function next(resolve, reject) {
timeSlotManager.reset(); timeSlotManager.reset();
var stop, operation, i, ii, cs; var stop, operation = {}, i, ii, cs;
while (!(stop = timeSlotManager.check()) && while (!(stop = timeSlotManager.check()) &&
(operation = preprocessor.read())) { preprocessor.read(operation)) {
var args = operation.args; var args = operation.args;
var fn = operation.fn; var fn = operation.fn;
@ -22297,7 +22297,6 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
var preprocessor = new EvaluatorPreprocessor(stream, xref, stateManager); var preprocessor = new EvaluatorPreprocessor(stream, xref, stateManager);
var operation;
var textState; var textState;
function newTextChunk() { function newTextChunk() {
@ -22435,9 +22434,9 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
return new Promise(function next(resolve, reject) { return new Promise(function next(resolve, reject) {
timeSlotManager.reset(); timeSlotManager.reset();
var stop; var stop, operation = {};
while (!(stop = timeSlotManager.check()) && while (!(stop = timeSlotManager.check()) &&
(operation = preprocessor.read())) { (preprocessor.read(operation))) {
textState = stateManager.state; textState = stateManager.state;
var fn = operation.fn; var fn = operation.fn;
var args = operation.args; var args = operation.args;
@ -23502,12 +23501,12 @@ var EvaluatorPreprocessor = (function EvaluatorPreprocessorClosure() {
return this.stateManager.stateStack.length; return this.stateManager.stateStack.length;
}, },
read: function EvaluatorPreprocessor_read() { read: function EvaluatorPreprocessor_read(operation) {
var args = []; var args = [];
while (true) { while (true) {
var obj = this.parser.getObj(); var obj = this.parser.getObj();
if (isEOF(obj)) { if (isEOF(obj)) {
return null; // no more commands return false; // no more commands
} }
if (!isCmd(obj)) { if (!isCmd(obj)) {
// argument // argument
@ -23558,7 +23557,9 @@ var EvaluatorPreprocessor = (function EvaluatorPreprocessorClosure() {
// TODO figure out how to type-check vararg functions // TODO figure out how to type-check vararg functions
this.preprocessCommand(fn, args); this.preprocessCommand(fn, args);
return { fn: fn, args: args }; operation.fn = fn;
operation.args = args;
return true;
} }
}, },

4
build/pdf.js

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

21
build/pdf.worker.js vendored

@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.400'; PDFJS.version = '1.0.402';
PDFJS.build = 'cf4bc42'; PDFJS.build = 'b557b87';
(function pdfjsWrapper() { (function pdfjsWrapper() {
// Use strict in our context only - users might not want it // Use strict in our context only - users might not want it
@ -17205,9 +17205,9 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
return new Promise(function next(resolve, reject) { return new Promise(function next(resolve, reject) {
timeSlotManager.reset(); timeSlotManager.reset();
var stop, operation, i, ii, cs; var stop, operation = {}, i, ii, cs;
while (!(stop = timeSlotManager.check()) && while (!(stop = timeSlotManager.check()) &&
(operation = preprocessor.read())) { preprocessor.read(operation)) {
var args = operation.args; var args = operation.args;
var fn = operation.fn; var fn = operation.fn;
@ -17461,7 +17461,6 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
var preprocessor = new EvaluatorPreprocessor(stream, xref, stateManager); var preprocessor = new EvaluatorPreprocessor(stream, xref, stateManager);
var operation;
var textState; var textState;
function newTextChunk() { function newTextChunk() {
@ -17599,9 +17598,9 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
return new Promise(function next(resolve, reject) { return new Promise(function next(resolve, reject) {
timeSlotManager.reset(); timeSlotManager.reset();
var stop; var stop, operation = {};
while (!(stop = timeSlotManager.check()) && while (!(stop = timeSlotManager.check()) &&
(operation = preprocessor.read())) { (preprocessor.read(operation))) {
textState = stateManager.state; textState = stateManager.state;
var fn = operation.fn; var fn = operation.fn;
var args = operation.args; var args = operation.args;
@ -18666,12 +18665,12 @@ var EvaluatorPreprocessor = (function EvaluatorPreprocessorClosure() {
return this.stateManager.stateStack.length; return this.stateManager.stateStack.length;
}, },
read: function EvaluatorPreprocessor_read() { read: function EvaluatorPreprocessor_read(operation) {
var args = []; var args = [];
while (true) { while (true) {
var obj = this.parser.getObj(); var obj = this.parser.getObj();
if (isEOF(obj)) { if (isEOF(obj)) {
return null; // no more commands return false; // no more commands
} }
if (!isCmd(obj)) { if (!isCmd(obj)) {
// argument // argument
@ -18722,7 +18721,9 @@ var EvaluatorPreprocessor = (function EvaluatorPreprocessorClosure() {
// TODO figure out how to type-check vararg functions // TODO figure out how to type-check vararg functions
this.preprocessCommand(fn, args); this.preprocessCommand(fn, args);
return { fn: fn, args: args }; operation.fn = fn;
operation.args = args;
return true;
} }
}, },

2
package.json

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

Loading…
Cancel
Save