Browse Source

PDF.js version 1.7.246 - See mozilla/pdf.js@cae8d97c4c44d820de7dd64bdd8b15af03f191fc

master v1.7.246
Brendan Dahl 8 years ago
parent
commit
50d2ce012f
  1. 2
      bower.json
  2. 4
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 2
      build/pdf.min.js
  5. 4
      build/pdf.worker.js
  6. 2
      package.json
  7. 20
      web/compatibility.js

2
bower.json

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

4
build/pdf.combined.js

@ -23,8 +23,8 @@
} }
}(this, function (exports) { }(this, function (exports) {
'use strict'; 'use strict';
var pdfjsVersion = '1.7.244'; var pdfjsVersion = '1.7.246';
var pdfjsBuild = '92e5fb09'; var pdfjsBuild = 'cae8d97c';
var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null;
var pdfjsLibs = {}; var pdfjsLibs = {};
(function pdfjsWrapper() { (function pdfjsWrapper() {

4
build/pdf.js

@ -23,8 +23,8 @@
} }
}(this, function (exports) { }(this, function (exports) {
'use strict'; 'use strict';
var pdfjsVersion = '1.7.244'; var pdfjsVersion = '1.7.246';
var pdfjsBuild = '92e5fb09'; var pdfjsBuild = 'cae8d97c';
var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null;
var pdfjsLibs = {}; var pdfjsLibs = {};
(function pdfjsWrapper() { (function pdfjsWrapper() {

2
build/pdf.min.js vendored

File diff suppressed because one or more lines are too long

4
build/pdf.worker.js vendored

@ -23,8 +23,8 @@
} }
}(this, function (exports) { }(this, function (exports) {
'use strict'; 'use strict';
var pdfjsVersion = '1.7.244'; var pdfjsVersion = '1.7.246';
var pdfjsBuild = '92e5fb09'; var pdfjsBuild = 'cae8d97c';
var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null; var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null;
var pdfjsLibs = {}; var pdfjsLibs = {};
(function pdfjsWrapper() { (function pdfjsWrapper() {

2
package.json

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

20
web/compatibility.js

@ -419,13 +419,19 @@ if (typeof PDFJS === 'undefined') {
} else if (!('bind' in console.log)) { } else if (!('bind' in console.log)) {
// native functions in IE9 might not have bind // native functions in IE9 might not have bind
console.log = (function(fn) { console.log = (function(fn) {
return function(msg) { return fn(msg); }; return function(msg) {
return fn(msg);
};
})(console.log); })(console.log);
console.error = (function(fn) { console.error = (function(fn) {
return function(msg) { return fn(msg); }; return function(msg) {
return fn(msg);
};
})(console.error); })(console.error);
console.warn = (function(fn) { console.warn = (function(fn) {
return function(msg) { return fn(msg); }; return function(msg) {
return fn(msg);
};
})(console.warn); })(console.warn);
} }
})(); })();
@ -606,7 +612,9 @@ if (typeof PDFJS === 'undefined') {
var inputProto = el.constructor.prototype; var inputProto = el.constructor.prototype;
var typeProperty = Object.getOwnPropertyDescriptor(inputProto, 'type'); var typeProperty = Object.getOwnPropertyDescriptor(inputProto, 'type');
Object.defineProperty(inputProto, 'type', { Object.defineProperty(inputProto, 'type', {
get: function () { return typeProperty.get.call(this); }, get: function () {
return typeProperty.get.call(this);
},
set: function (value) { set: function (value) {
typeProperty.set.call(this, value === 'number' ? 'text' : value); typeProperty.set.call(this, value === 'number' ? 'text' : value);
}, },
@ -630,7 +638,9 @@ if (typeof PDFJS === 'undefined') {
var value = readyStateProto.get.call(this); var value = readyStateProto.get.call(this);
return value === 'interactive' ? 'loading' : value; return value === 'interactive' ? 'loading' : value;
}, },
set: function (value) { readyStateProto.set.call(this, value); }, set: function (value) {
readyStateProto.set.call(this, value);
},
enumerable: true, enumerable: true,
configurable: true configurable: true
}); });

Loading…
Cancel
Save