Browse Source

PDF.js version 1.1.488

master v1.1.488
Pdf Bot 9 years ago
parent
commit
35abc23197
  1. 2
      bower.json
  2. 24
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 24
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.1.485", "version": "1.1.488",
"main": [ "main": [
"build/pdf.js", "build/pdf.js",
"build/pdf.worker.js" "build/pdf.worker.js"

24
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.1.485'; PDFJS.version = '1.1.488';
PDFJS.build = 'e28ad20'; PDFJS.build = 'a6761a5';
(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
@ -9675,6 +9675,22 @@ var Dict = (function DictClosure() {
return Promise.resolve(value); return Promise.resolve(value);
}, },
// Same as get(), but dereferences all elements if the result is an Array.
getArray: function Dict_getArray(key1, key2, key3) {
var value = this.get(key1, key2, key3);
if (!isArray(value)) {
return value;
}
value = value.slice(); // Ensure that we don't modify the Dict data.
for (var i = 0, ii = value.length; i < ii; i++) {
if (!isRef(value[i])) {
continue;
}
value[i] = this.xref.fetch(value[i]);
}
return value;
},
// no dereferencing // no dereferencing
getRaw: function Dict_getRaw(key) { getRaw: function Dict_getRaw(key) {
return this.map[key]; return this.map[key];
@ -17317,8 +17333,8 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
xobj, smask, xobj, smask,
operatorList, operatorList,
initialState) { initialState) {
var matrix = xobj.dict.get('Matrix'); var matrix = xobj.dict.getArray('Matrix');
var bbox = xobj.dict.get('BBox'); var bbox = xobj.dict.getArray('BBox');
var group = xobj.dict.get('Group'); var group = xobj.dict.get('Group');
if (group) { if (group) {
var groupOptions = { var groupOptions = {

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.1.485'; PDFJS.version = '1.1.488';
PDFJS.build = 'e28ad20'; PDFJS.build = 'a6761a5';
(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

24
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.1.485'; PDFJS.version = '1.1.488';
PDFJS.build = 'e28ad20'; PDFJS.build = 'a6761a5';
(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
@ -3214,6 +3214,22 @@ var Dict = (function DictClosure() {
return Promise.resolve(value); return Promise.resolve(value);
}, },
// Same as get(), but dereferences all elements if the result is an Array.
getArray: function Dict_getArray(key1, key2, key3) {
var value = this.get(key1, key2, key3);
if (!isArray(value)) {
return value;
}
value = value.slice(); // Ensure that we don't modify the Dict data.
for (var i = 0, ii = value.length; i < ii; i++) {
if (!isRef(value[i])) {
continue;
}
value[i] = this.xref.fetch(value[i]);
}
return value;
},
// no dereferencing // no dereferencing
getRaw: function Dict_getRaw(key) { getRaw: function Dict_getRaw(key) {
return this.map[key]; return this.map[key];
@ -10856,8 +10872,8 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
xobj, smask, xobj, smask,
operatorList, operatorList,
initialState) { initialState) {
var matrix = xobj.dict.get('Matrix'); var matrix = xobj.dict.getArray('Matrix');
var bbox = xobj.dict.get('BBox'); var bbox = xobj.dict.getArray('BBox');
var group = xobj.dict.get('Group'); var group = xobj.dict.get('Group');
if (group) { if (group) {
var groupOptions = { var groupOptions = {

2
package.json

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