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 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.7.244",
"version": "1.7.246",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

4
build/pdf.combined.js

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

4
build/pdf.js

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

2
package.json

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

20
web/compatibility.js

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

Loading…
Cancel
Save