Browse Source

PDF.js version 1.7.346 - See mozilla/pdf.js@4e3e97be8eafede8637eff749282af609661b88f

master v1.7.346
pdfjsbot 8 years ago
parent
commit
c118d553d7
  1. 2
      bower.json
  2. 22
      build/pdf.combined.js
  3. 12
      build/pdf.js
  4. 4
      build/pdf.min.js
  5. 14
      build/pdf.worker.js
  6. 4
      build/pdf.worker.min.js
  7. 10
      lib/core/document.js
  8. 4
      lib/display/api.js
  9. 4
      lib/display/global.js
  10. 4
      lib/pdf.js
  11. 4
      lib/pdf.worker.js
  12. 2
      package.json

2
bower.json

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

22
build/pdf.combined.js

@ -20022,8 +20022,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -20022,8 +20022,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}
};
}();
exports.version = '1.7.344';
exports.build = 'c2905614';
exports.version = '1.7.346';
exports.build = '4e3e97be';
exports.getDocument = getDocument;
exports.PDFDataRangeTransport = PDFDataRangeTransport;
exports.PDFWorker = PDFWorker;
@ -38777,8 +38777,8 @@ if (!globalScope.PDFJS) { @@ -38777,8 +38777,8 @@ if (!globalScope.PDFJS) {
globalScope.PDFJS = {};
}
var PDFJS = globalScope.PDFJS;
PDFJS.version = '1.7.344';
PDFJS.build = 'c2905614';
PDFJS.version = '1.7.346';
PDFJS.build = '4e3e97be';
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {
sharedUtil.setVerbosityLevel(PDFJS.verbosity);
@ -41781,15 +41781,15 @@ var Page = function PageClosure() { @@ -41781,15 +41781,15 @@ var Page = function PageClosure() {
valueArray.push(value);
}
if (++loopCount > MAX_LOOP_COUNT) {
warn('Page_getInheritedPageProp: maximum loop count exceeded.');
break;
warn('getInheritedPageProp: maximum loop count exceeded for ' + key);
return valueArray ? valueArray[0] : undefined;
}
dict = dict.get('Parent');
}
if (!valueArray) {
return Dict.empty;
return undefined;
}
if (valueArray.length === 1 || !isDict(valueArray[0]) || loopCount > MAX_LOOP_COUNT) {
if (valueArray.length === 1 || !isDict(valueArray[0])) {
return valueArray[0];
}
return Dict.merge(this.xref, valueArray);
@ -41798,7 +41798,7 @@ var Page = function PageClosure() { @@ -41798,7 +41798,7 @@ var Page = function PageClosure() {
return this.getPageProp('Contents');
},
get resources() {
return shadow(this, 'resources', this.getInheritedPageProp('Resources'));
return shadow(this, 'resources', this.getInheritedPageProp('Resources') || Dict.empty);
},
get mediaBox() {
var mediaBox = this.getInheritedPageProp('MediaBox', true);
@ -57884,8 +57884,8 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { @@ -57884,8 +57884,8 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) {
"use strict";
var pdfjsVersion = '1.7.344';
var pdfjsBuild = 'c2905614';
var pdfjsVersion = '1.7.346';
var pdfjsBuild = '4e3e97be';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(26);
var pdfjsDisplayAPI = __w_pdfjs_require__(10);

12
build/pdf.js

@ -3735,8 +3735,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -3735,8 +3735,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}
};
}();
exports.version = '1.7.344';
exports.build = 'c2905614';
exports.version = '1.7.346';
exports.build = '4e3e97be';
exports.getDocument = getDocument;
exports.PDFDataRangeTransport = PDFDataRangeTransport;
exports.PDFWorker = PDFWorker;
@ -5768,8 +5768,8 @@ if (!globalScope.PDFJS) { @@ -5768,8 +5768,8 @@ if (!globalScope.PDFJS) {
globalScope.PDFJS = {};
}
var PDFJS = globalScope.PDFJS;
PDFJS.version = '1.7.344';
PDFJS.build = 'c2905614';
PDFJS.version = '1.7.346';
PDFJS.build = '4e3e97be';
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {
sharedUtil.setVerbosityLevel(PDFJS.verbosity);
@ -9855,8 +9855,8 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { @@ -9855,8 +9855,8 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) {
"use strict";
var pdfjsVersion = '1.7.344';
var pdfjsBuild = 'c2905614';
var pdfjsVersion = '1.7.346';
var pdfjsBuild = '4e3e97be';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(9);
var pdfjsDisplayAPI = __w_pdfjs_require__(3);

4
build/pdf.min.js vendored

File diff suppressed because one or more lines are too long

14
build/pdf.worker.js vendored

@ -38017,15 +38017,15 @@ var Page = function PageClosure() { @@ -38017,15 +38017,15 @@ var Page = function PageClosure() {
valueArray.push(value);
}
if (++loopCount > MAX_LOOP_COUNT) {
warn('Page_getInheritedPageProp: maximum loop count exceeded.');
break;
warn('getInheritedPageProp: maximum loop count exceeded for ' + key);
return valueArray ? valueArray[0] : undefined;
}
dict = dict.get('Parent');
}
if (!valueArray) {
return Dict.empty;
return undefined;
}
if (valueArray.length === 1 || !isDict(valueArray[0]) || loopCount > MAX_LOOP_COUNT) {
if (valueArray.length === 1 || !isDict(valueArray[0])) {
return valueArray[0];
}
return Dict.merge(this.xref, valueArray);
@ -38034,7 +38034,7 @@ var Page = function PageClosure() { @@ -38034,7 +38034,7 @@ var Page = function PageClosure() {
return this.getPageProp('Contents');
},
get resources() {
return shadow(this, 'resources', this.getInheritedPageProp('Resources'));
return shadow(this, 'resources', this.getInheritedPageProp('Resources') || Dict.empty);
},
get mediaBox() {
var mediaBox = this.getInheritedPageProp('MediaBox', true);
@ -51072,8 +51072,8 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { @@ -51072,8 +51072,8 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) {
"use strict";
var pdfjsVersion = '1.7.344';
var pdfjsBuild = 'c2905614';
var pdfjsVersion = '1.7.346';
var pdfjsBuild = '4e3e97be';
var pdfjsCoreWorker = __w_pdfjs_require__(8);
{
__w_pdfjs_require__(19);

4
build/pdf.worker.min.js vendored

File diff suppressed because one or more lines are too long

10
lib/core/document.js

@ -97,15 +97,15 @@ var Page = function PageClosure() { @@ -97,15 +97,15 @@ var Page = function PageClosure() {
valueArray.push(value);
}
if (++loopCount > MAX_LOOP_COUNT) {
warn('Page_getInheritedPageProp: maximum loop count exceeded.');
break;
warn('getInheritedPageProp: maximum loop count exceeded for ' + key);
return valueArray ? valueArray[0] : undefined;
}
dict = dict.get('Parent');
}
if (!valueArray) {
return Dict.empty;
return undefined;
}
if (valueArray.length === 1 || !isDict(valueArray[0]) || loopCount > MAX_LOOP_COUNT) {
if (valueArray.length === 1 || !isDict(valueArray[0])) {
return valueArray[0];
}
return Dict.merge(this.xref, valueArray);
@ -114,7 +114,7 @@ var Page = function PageClosure() { @@ -114,7 +114,7 @@ var Page = function PageClosure() {
return this.getPageProp('Contents');
},
get resources() {
return shadow(this, 'resources', this.getInheritedPageProp('Resources'));
return shadow(this, 'resources', this.getInheritedPageProp('Resources') || Dict.empty);
},
get mediaBox() {
var mediaBox = this.getInheritedPageProp('MediaBox', true);

4
lib/display/api.js

@ -1374,8 +1374,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -1374,8 +1374,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}
};
}();
exports.version = '1.7.344';
exports.build = 'c2905614';
exports.version = '1.7.346';
exports.build = '4e3e97be';
exports.getDocument = getDocument;
exports.PDFDataRangeTransport = PDFDataRangeTransport;
exports.PDFWorker = PDFWorker;

4
lib/display/global.js

@ -30,8 +30,8 @@ if (!globalScope.PDFJS) { @@ -30,8 +30,8 @@ if (!globalScope.PDFJS) {
globalScope.PDFJS = {};
}
var PDFJS = globalScope.PDFJS;
PDFJS.version = '1.7.344';
PDFJS.build = 'c2905614';
PDFJS.version = '1.7.346';
PDFJS.build = '4e3e97be';
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {
sharedUtil.setVerbosityLevel(PDFJS.verbosity);

4
lib/pdf.js

@ -13,8 +13,8 @@ @@ -13,8 +13,8 @@
* limitations under the License.
*/
'use strict';
var pdfjsVersion = '1.7.344';
var pdfjsBuild = 'c2905614';
var pdfjsVersion = '1.7.346';
var pdfjsBuild = '4e3e97be';
var pdfjsSharedUtil = require('./shared/util.js');
var pdfjsDisplayGlobal = require('./display/global.js');
var pdfjsDisplayAPI = require('./display/api.js');

4
lib/pdf.worker.js vendored

@ -13,8 +13,8 @@ @@ -13,8 +13,8 @@
* limitations under the License.
*/
'use strict';
var pdfjsVersion = '1.7.344';
var pdfjsBuild = 'c2905614';
var pdfjsVersion = '1.7.346';
var pdfjsBuild = '4e3e97be';
var pdfjsCoreWorker = require('./core/worker.js');
{
require('./core/network.js');

2
package.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.7.344",
"version": "1.7.346",
"main": "build/pdf.js",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [

Loading…
Cancel
Save