Browse Source

PDF.js version 1.0.702

master v1.0.702
Yury Delendik 11 years ago
parent
commit
561f4e92a9
  1. 2
      bower.json
  2. 25
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 25
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

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

25
build/pdf.combined.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.700'; PDFJS.version = '1.0.702';
PDFJS.build = 'b06dc8d'; PDFJS.build = '6ac995d';
(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
@ -16707,10 +16707,13 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
setGState: function PartialEvaluator_setGState(resources, gState, setGState: function PartialEvaluator_setGState(resources, gState,
operatorList, xref, operatorList, xref,
stateManager) { stateManager) {
// This array holds the converted/processed state data.
// TODO(mack): This should be rewritten so that this function returns var gStateObj = [];
// what should be added to the queue during each iteration var gStateMap = gState.map;
function setGStateForKey(gStateObj, key, value) { var self = this;
var promise = Promise.resolve();
for (var key in gStateMap) {
var value = gStateMap[key];
switch (key) { switch (key) {
case 'Type': case 'Type':
break; break;
@ -16779,16 +16782,6 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
break; 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 () { return promise.then(function () {
if (gStateObj.length >= 0) { if (gStateObj.length >= 0) {
operatorList.addOp(OPS.setGState, [gStateObj]); operatorList.addOp(OPS.setGState, [gStateObj]);

4
build/pdf.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.700'; PDFJS.version = '1.0.702';
PDFJS.build = 'b06dc8d'; PDFJS.build = '6ac995d';
(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

25
build/pdf.worker.js vendored

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.700'; PDFJS.version = '1.0.702';
PDFJS.build = 'b06dc8d'; PDFJS.build = '6ac995d';
(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
@ -10677,10 +10677,13 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
setGState: function PartialEvaluator_setGState(resources, gState, setGState: function PartialEvaluator_setGState(resources, gState,
operatorList, xref, operatorList, xref,
stateManager) { stateManager) {
// This array holds the converted/processed state data.
// TODO(mack): This should be rewritten so that this function returns var gStateObj = [];
// what should be added to the queue during each iteration var gStateMap = gState.map;
function setGStateForKey(gStateObj, key, value) { var self = this;
var promise = Promise.resolve();
for (var key in gStateMap) {
var value = gStateMap[key];
switch (key) { switch (key) {
case 'Type': case 'Type':
break; break;
@ -10749,16 +10752,6 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
break; 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 () { return promise.then(function () {
if (gStateObj.length >= 0) { if (gStateObj.length >= 0) {
operatorList.addOp(OPS.setGState, [gStateObj]); operatorList.addOp(OPS.setGState, [gStateObj]);

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.0.700", "version": "1.0.702",
"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