Browse Source

PDF.js version 1.7.412 - See mozilla/pdf.js@b665b0319a1b8a2c83dd68ff10e2b8ce58205877

master v1.7.412
pdfjsbot 8 years ago
parent
commit
0437941c49
  1. 2
      bower.json
  2. 28
      build/pdf.combined.js
  3. 28
      build/pdf.js
  4. 10
      build/pdf.min.js
  5. 20
      build/pdf.worker.js
  6. 2
      build/pdf.worker.min.js
  7. 4
      lib/display/api.js
  8. 4
      lib/display/global.js
  9. 4
      lib/pdf.js
  10. 4
      lib/pdf.worker.js
  11. 16
      lib/shared/compatibility.js
  12. 2
      package.json
  13. 16
      web/compatibility.js

2
bower.json

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

28
build/pdf.combined.js

@ -12737,8 +12737,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -12737,8 +12737,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}
};
}();
exports.version = '1.7.410';
exports.build = '31f88756';
exports.version = '1.7.412';
exports.build = 'b665b031';
exports.getDocument = getDocument;
exports.PDFDataRangeTransport = PDFDataRangeTransport;
exports.PDFWorker = PDFWorker;
@ -27929,8 +27929,8 @@ if (!globalScope.PDFJS) { @@ -27929,8 +27929,8 @@ if (!globalScope.PDFJS) {
globalScope.PDFJS = {};
}
var PDFJS = globalScope.PDFJS;
PDFJS.version = '1.7.410';
PDFJS.build = '31f88756';
PDFJS.version = '1.7.412';
PDFJS.build = 'b665b031';
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {
sharedUtil.setVerbosityLevel(PDFJS.verbosity);
@ -43469,8 +43469,8 @@ exports.TilingPattern = TilingPattern; @@ -43469,8 +43469,8 @@ exports.TilingPattern = TilingPattern;
"use strict";
var pdfjsVersion = '1.7.410';
var pdfjsBuild = '31f88756';
var pdfjsVersion = '1.7.412';
var pdfjsBuild = 'b665b031';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(26);
var pdfjsDisplayAPI = __w_pdfjs_require__(10);
@ -43983,20 +43983,28 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { @@ -43983,20 +43983,28 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) {
}
})();
(function checkRequestAnimationFrame() {
function fakeRequestAnimationFrame(callback) {
window.setTimeout(callback, 20);
function installFakeAnimationFrameFunctions() {
window.requestAnimationFrame = function (callback) {
return window.setTimeout(callback, 20);
};
window.cancelAnimationFrame = function (timeoutID) {
window.clearTimeout(timeoutID);
};
}
if (!hasDOM) {
return;
}
if (isIOS) {
window.requestAnimationFrame = fakeRequestAnimationFrame;
installFakeAnimationFrameFunctions();
return;
}
if ('requestAnimationFrame' in window) {
return;
}
window.requestAnimationFrame = window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || fakeRequestAnimationFrame;
window.requestAnimationFrame = window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame;
if (!('requestAnimationFrame' in window)) {
installFakeAnimationFrameFunctions();
}
})();
(function checkCanvasSizeLimitation() {
if (isIOS || isAndroid) {

28
build/pdf.js

@ -3451,8 +3451,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -3451,8 +3451,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}
};
}();
exports.version = '1.7.410';
exports.build = '31f88756';
exports.version = '1.7.412';
exports.build = 'b665b031';
exports.getDocument = getDocument;
exports.PDFDataRangeTransport = PDFDataRangeTransport;
exports.PDFWorker = PDFWorker;
@ -5391,8 +5391,8 @@ if (!globalScope.PDFJS) { @@ -5391,8 +5391,8 @@ if (!globalScope.PDFJS) {
globalScope.PDFJS = {};
}
var PDFJS = globalScope.PDFJS;
PDFJS.version = '1.7.410';
PDFJS.build = '31f88756';
PDFJS.version = '1.7.412';
PDFJS.build = 'b665b031';
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {
sharedUtil.setVerbosityLevel(PDFJS.verbosity);
@ -7903,8 +7903,8 @@ exports.TilingPattern = TilingPattern; @@ -7903,8 +7903,8 @@ exports.TilingPattern = TilingPattern;
"use strict";
var pdfjsVersion = '1.7.410';
var pdfjsBuild = '31f88756';
var pdfjsVersion = '1.7.412';
var pdfjsBuild = 'b665b031';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(9);
var pdfjsDisplayAPI = __w_pdfjs_require__(3);
@ -8417,20 +8417,28 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { @@ -8417,20 +8417,28 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) {
}
})();
(function checkRequestAnimationFrame() {
function fakeRequestAnimationFrame(callback) {
window.setTimeout(callback, 20);
function installFakeAnimationFrameFunctions() {
window.requestAnimationFrame = function (callback) {
return window.setTimeout(callback, 20);
};
window.cancelAnimationFrame = function (timeoutID) {
window.clearTimeout(timeoutID);
};
}
if (!hasDOM) {
return;
}
if (isIOS) {
window.requestAnimationFrame = fakeRequestAnimationFrame;
installFakeAnimationFrameFunctions();
return;
}
if ('requestAnimationFrame' in window) {
return;
}
window.requestAnimationFrame = window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || fakeRequestAnimationFrame;
window.requestAnimationFrame = window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame;
if (!('requestAnimationFrame' in window)) {
installFakeAnimationFrameFunctions();
}
})();
(function checkCanvasSizeLimitation() {
if (isIOS || isAndroid) {

10
build/pdf.min.js vendored

File diff suppressed because one or more lines are too long

20
build/pdf.worker.js vendored

@ -36907,8 +36907,8 @@ exports.Type1Parser = Type1Parser; @@ -36907,8 +36907,8 @@ exports.Type1Parser = Type1Parser;
"use strict";
var pdfjsVersion = '1.7.410';
var pdfjsBuild = '31f88756';
var pdfjsVersion = '1.7.412';
var pdfjsBuild = 'b665b031';
var pdfjsCoreWorker = __w_pdfjs_require__(8);
{
__w_pdfjs_require__(19);
@ -37393,20 +37393,28 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { @@ -37393,20 +37393,28 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) {
}
})();
(function checkRequestAnimationFrame() {
function fakeRequestAnimationFrame(callback) {
window.setTimeout(callback, 20);
function installFakeAnimationFrameFunctions() {
window.requestAnimationFrame = function (callback) {
return window.setTimeout(callback, 20);
};
window.cancelAnimationFrame = function (timeoutID) {
window.clearTimeout(timeoutID);
};
}
if (!hasDOM) {
return;
}
if (isIOS) {
window.requestAnimationFrame = fakeRequestAnimationFrame;
installFakeAnimationFrameFunctions();
return;
}
if ('requestAnimationFrame' in window) {
return;
}
window.requestAnimationFrame = window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || fakeRequestAnimationFrame;
window.requestAnimationFrame = window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame;
if (!('requestAnimationFrame' in window)) {
installFakeAnimationFrameFunctions();
}
})();
(function checkCanvasSizeLimitation() {
if (isIOS || isAndroid) {

2
build/pdf.worker.min.js vendored

File diff suppressed because one or more lines are too long

4
lib/display/api.js

@ -1377,8 +1377,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -1377,8 +1377,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}
};
}();
exports.version = '1.7.410';
exports.build = '31f88756';
exports.version = '1.7.412';
exports.build = 'b665b031';
exports.getDocument = getDocument;
exports.PDFDataRangeTransport = PDFDataRangeTransport;
exports.PDFWorker = PDFWorker;

4
lib/display/global.js

@ -31,8 +31,8 @@ if (!globalScope.PDFJS) { @@ -31,8 +31,8 @@ if (!globalScope.PDFJS) {
globalScope.PDFJS = {};
}
var PDFJS = globalScope.PDFJS;
PDFJS.version = '1.7.410';
PDFJS.build = '31f88756';
PDFJS.version = '1.7.412';
PDFJS.build = 'b665b031';
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {
sharedUtil.setVerbosityLevel(PDFJS.verbosity);

4
lib/pdf.js

@ -14,8 +14,8 @@ @@ -14,8 +14,8 @@
*/
'use strict';
var pdfjsVersion = '1.7.410';
var pdfjsBuild = '31f88756';
var pdfjsVersion = '1.7.412';
var pdfjsBuild = 'b665b031';
var pdfjsSharedUtil = require('./shared/util.js');
var pdfjsDisplayGlobal = require('./display/global.js');
var pdfjsDisplayAPI = require('./display/api.js');

4
lib/pdf.worker.js vendored

@ -14,8 +14,8 @@ @@ -14,8 +14,8 @@
*/
'use strict';
var pdfjsVersion = '1.7.410';
var pdfjsBuild = '31f88756';
var pdfjsVersion = '1.7.412';
var pdfjsBuild = 'b665b031';
var pdfjsCoreWorker = require('./core/worker.js');
{
require('./core/network.js');

16
lib/shared/compatibility.js

@ -485,20 +485,28 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { @@ -485,20 +485,28 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) {
}
})();
(function checkRequestAnimationFrame() {
function fakeRequestAnimationFrame(callback) {
window.setTimeout(callback, 20);
function installFakeAnimationFrameFunctions() {
window.requestAnimationFrame = function (callback) {
return window.setTimeout(callback, 20);
};
window.cancelAnimationFrame = function (timeoutID) {
window.clearTimeout(timeoutID);
};
}
if (!hasDOM) {
return;
}
if (isIOS) {
window.requestAnimationFrame = fakeRequestAnimationFrame;
installFakeAnimationFrameFunctions();
return;
}
if ('requestAnimationFrame' in window) {
return;
}
window.requestAnimationFrame = window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || fakeRequestAnimationFrame;
window.requestAnimationFrame = window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame;
if (!('requestAnimationFrame' in window)) {
installFakeAnimationFrameFunctions();
}
})();
(function checkCanvasSizeLimitation() {
if (isIOS || isAndroid) {

2
package.json

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

16
web/compatibility.js

@ -569,20 +569,28 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { @@ -569,20 +569,28 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) {
}
})();
(function checkRequestAnimationFrame() {
function fakeRequestAnimationFrame(callback) {
window.setTimeout(callback, 20);
function installFakeAnimationFrameFunctions() {
window.requestAnimationFrame = function (callback) {
return window.setTimeout(callback, 20);
};
window.cancelAnimationFrame = function (timeoutID) {
window.clearTimeout(timeoutID);
};
}
if (!hasDOM) {
return;
}
if (isIOS) {
window.requestAnimationFrame = fakeRequestAnimationFrame;
installFakeAnimationFrameFunctions();
return;
}
if ('requestAnimationFrame' in window) {
return;
}
window.requestAnimationFrame = window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || fakeRequestAnimationFrame;
window.requestAnimationFrame = window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame;
if (!('requestAnimationFrame' in window)) {
installFakeAnimationFrameFunctions();
}
})();
(function checkCanvasSizeLimitation() {
if (isIOS || isAndroid) {

Loading…
Cancel
Save