Browse Source

PDF.js version 1.7.367 - See mozilla/pdf.js@f0c45f0336aa90bbf8f636586896fb5767a63e71

master v1.7.367
pdfjsbot 8 years ago
parent
commit
45ed5109b9
  1. 2
      bower.json
  2. 16
      build/pdf.combined.js
  3. 16
      build/pdf.js
  4. 6
      build/pdf.min.js
  5. 4
      build/pdf.worker.js
  6. 4
      build/pdf.worker.min.js
  7. 4
      lib/display/api.js
  8. 4
      lib/display/global.js
  9. 4
      lib/display/pattern_helper.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.365",
"version": "1.7.367",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

16
build/pdf.combined.js

@ -20022,8 +20022,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -20022,8 +20022,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}
};
}();
exports.version = '1.7.365';
exports.build = '2b171889';
exports.version = '1.7.367';
exports.build = 'f0c45f03';
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.365';
PDFJS.build = '2b171889';
PDFJS.version = '1.7.367';
PDFJS.build = 'f0c45f03';
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {
sharedUtil.setVerbosityLevel(PDFJS.verbosity);
@ -56340,7 +56340,7 @@ var TilingPattern = function TilingPatternClosure() { @@ -56340,7 +56340,7 @@ var TilingPattern = function TilingPatternClosure() {
0,
0
];
this.bbox = IR[4];
this.bbox = Util.normalizeRect(IR[4]);
this.xstep = IR[5];
this.ystep = IR[6];
this.paintType = IR[7];
@ -56424,7 +56424,7 @@ var TilingPattern = function TilingPatternClosure() { @@ -56424,7 +56424,7 @@ var TilingPattern = function TilingPatternClosure() {
this.ctx.scale(1 / scale[0], 1 / scale[1]);
},
clipBbox: function clipBbox(graphics, bbox, x0, y0, x1, y1) {
if (bbox && isArray(bbox) && bbox.length === 4) {
if (isArray(bbox) && bbox.length === 4) {
var bboxWidth = x1 - x0;
var bboxHeight = y1 - y0;
graphics.ctx.rect(x0, y0, bboxWidth, bboxHeight);
@ -57887,8 +57887,8 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { @@ -57887,8 +57887,8 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) {
"use strict";
var pdfjsVersion = '1.7.365';
var pdfjsBuild = '2b171889';
var pdfjsVersion = '1.7.367';
var pdfjsBuild = 'f0c45f03';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(26);
var pdfjsDisplayAPI = __w_pdfjs_require__(10);

16
build/pdf.js

@ -3735,8 +3735,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() { @@ -3735,8 +3735,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}
};
}();
exports.version = '1.7.365';
exports.build = '2b171889';
exports.version = '1.7.367';
exports.build = 'f0c45f03';
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.365';
PDFJS.build = '2b171889';
PDFJS.version = '1.7.367';
PDFJS.build = 'f0c45f03';
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {
sharedUtil.setVerbosityLevel(PDFJS.verbosity);
@ -8308,7 +8308,7 @@ var TilingPattern = function TilingPatternClosure() { @@ -8308,7 +8308,7 @@ var TilingPattern = function TilingPatternClosure() {
0,
0
];
this.bbox = IR[4];
this.bbox = Util.normalizeRect(IR[4]);
this.xstep = IR[5];
this.ystep = IR[6];
this.paintType = IR[7];
@ -8392,7 +8392,7 @@ var TilingPattern = function TilingPatternClosure() { @@ -8392,7 +8392,7 @@ var TilingPattern = function TilingPatternClosure() {
this.ctx.scale(1 / scale[0], 1 / scale[1]);
},
clipBbox: function clipBbox(graphics, bbox, x0, y0, x1, y1) {
if (bbox && isArray(bbox) && bbox.length === 4) {
if (isArray(bbox) && bbox.length === 4) {
var bboxWidth = x1 - x0;
var bboxHeight = y1 - y0;
graphics.ctx.rect(x0, y0, bboxWidth, bboxHeight);
@ -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.365';
var pdfjsBuild = '2b171889';
var pdfjsVersion = '1.7.367';
var pdfjsBuild = 'f0c45f03';
var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(9);
var pdfjsDisplayAPI = __w_pdfjs_require__(3);

6
build/pdf.min.js vendored

File diff suppressed because one or more lines are too long

4
build/pdf.worker.js vendored

@ -51075,8 +51075,8 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) { @@ -51075,8 +51075,8 @@ if (typeof PDFJS === 'undefined' || !PDFJS.compatibilityChecked) {
"use strict";
var pdfjsVersion = '1.7.365';
var pdfjsBuild = '2b171889';
var pdfjsVersion = '1.7.367';
var pdfjsBuild = 'f0c45f03';
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

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.365';
exports.build = '2b171889';
exports.version = '1.7.367';
exports.build = 'f0c45f03';
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.365';
PDFJS.build = '2b171889';
PDFJS.version = '1.7.367';
PDFJS.build = 'f0c45f03';
PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) {
sharedUtil.setVerbosityLevel(PDFJS.verbosity);

4
lib/display/pattern_helper.js

@ -279,7 +279,7 @@ var TilingPattern = function TilingPatternClosure() { @@ -279,7 +279,7 @@ var TilingPattern = function TilingPatternClosure() {
0,
0
];
this.bbox = IR[4];
this.bbox = Util.normalizeRect(IR[4]);
this.xstep = IR[5];
this.ystep = IR[6];
this.paintType = IR[7];
@ -363,7 +363,7 @@ var TilingPattern = function TilingPatternClosure() { @@ -363,7 +363,7 @@ var TilingPattern = function TilingPatternClosure() {
this.ctx.scale(1 / scale[0], 1 / scale[1]);
},
clipBbox: function clipBbox(graphics, bbox, x0, y0, x1, y1) {
if (bbox && isArray(bbox) && bbox.length === 4) {
if (isArray(bbox) && bbox.length === 4) {
var bboxWidth = x1 - x0;
var bboxHeight = y1 - y0;
graphics.ctx.rect(x0, y0, bboxWidth, bboxHeight);

4
lib/pdf.js

@ -13,8 +13,8 @@ @@ -13,8 +13,8 @@
* limitations under the License.
*/
'use strict';
var pdfjsVersion = '1.7.365';
var pdfjsBuild = '2b171889';
var pdfjsVersion = '1.7.367';
var pdfjsBuild = 'f0c45f03';
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.365';
var pdfjsBuild = '2b171889';
var pdfjsVersion = '1.7.367';
var pdfjsBuild = 'f0c45f03';
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.365",
"version": "1.7.367",
"main": "build/pdf.js",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [

Loading…
Cancel
Save