diff --git a/bower.json b/bower.json index 3f65f21c5..64073e43a 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.700", + "version": "1.0.702", "keywords": [ "Mozilla", "pdf", diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 16d5a5746..a4dacc0e7 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.700'; -PDFJS.build = 'b06dc8d'; +PDFJS.version = '1.0.702'; +PDFJS.build = '6ac995d'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -16707,10 +16707,13 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { setGState: function PartialEvaluator_setGState(resources, gState, operatorList, xref, stateManager) { - - // TODO(mack): This should be rewritten so that this function returns - // what should be added to the queue during each iteration - function setGStateForKey(gStateObj, key, value) { + // This array holds the converted/processed state data. + var gStateObj = []; + var gStateMap = gState.map; + var self = this; + var promise = Promise.resolve(); + for (var key in gStateMap) { + var value = gStateMap[key]; switch (key) { case 'Type': break; @@ -16779,16 +16782,6 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { break; } } - - // This array holds the converted/processed state data. - var gStateObj = []; - var gStateMap = gState.map; - var self = this; - var promise = Promise.resolve(); - for (var key in gStateMap) { - var value = gStateMap[key]; - setGStateForKey(gStateObj, key, value); - } return promise.then(function () { if (gStateObj.length >= 0) { operatorList.addOp(OPS.setGState, [gStateObj]); diff --git a/build/pdf.js b/build/pdf.js index 084c89a38..402f9f9a6 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.700'; -PDFJS.build = 'b06dc8d'; +PDFJS.version = '1.0.702'; +PDFJS.build = '6ac995d'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/build/pdf.worker.js b/build/pdf.worker.js index e07a52e22..7829cd464 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.700'; -PDFJS.build = 'b06dc8d'; +PDFJS.version = '1.0.702'; +PDFJS.build = '6ac995d'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -10677,10 +10677,13 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { setGState: function PartialEvaluator_setGState(resources, gState, operatorList, xref, stateManager) { - - // TODO(mack): This should be rewritten so that this function returns - // what should be added to the queue during each iteration - function setGStateForKey(gStateObj, key, value) { + // This array holds the converted/processed state data. + var gStateObj = []; + var gStateMap = gState.map; + var self = this; + var promise = Promise.resolve(); + for (var key in gStateMap) { + var value = gStateMap[key]; switch (key) { case 'Type': break; @@ -10749,16 +10752,6 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { break; } } - - // This array holds the converted/processed state data. - var gStateObj = []; - var gStateMap = gState.map; - var self = this; - var promise = Promise.resolve(); - for (var key in gStateMap) { - var value = gStateMap[key]; - setGStateForKey(gStateObj, key, value); - } return promise.then(function () { if (gStateObj.length >= 0) { operatorList.addOp(OPS.setGState, [gStateObj]); diff --git a/package.json b/package.json index fde2176f1..01d7538d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.700", + "version": "1.0.702", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",