[go: nahoru, domu]

Skip to content
This repository has been archived by the owner on Jul 14, 2024. It is now read-only.

Commit

Permalink
PDF.js version 1.6.473 - See mozilla/pdf.js@a47fc2f
Browse files Browse the repository at this point in the history
  • Loading branch information
pdfjsbot committed Jan 23, 2017
1 parent bf4f889 commit 911f93d
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.6.471",
"version": "1.6.473",
"main": [
"build/pdf.js",
"build/pdf.worker.js"
Expand Down
4 changes: 2 additions & 2 deletions build/pdf.combined.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
}
}(this, function (exports) {
'use strict';
var pdfjsVersion = '1.6.471';
var pdfjsBuild = '1948a53';
var pdfjsVersion = '1.6.473';
var pdfjsBuild = 'a47fc2f';
var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null;
var pdfjsLibs = {};
(function pdfjsWrapper() {
Expand Down
4 changes: 2 additions & 2 deletions build/pdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
}
}(this, function (exports) {
'use strict';
var pdfjsVersion = '1.6.471';
var pdfjsBuild = '1948a53';
var pdfjsVersion = '1.6.473';
var pdfjsBuild = 'a47fc2f';
var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null;
var pdfjsLibs = {};
(function pdfjsWrapper() {
Expand Down
2 changes: 1 addition & 1 deletion build/pdf.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/pdf.worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
}
}(this, function (exports) {
'use strict';
var pdfjsVersion = '1.6.471';
var pdfjsBuild = '1948a53';
var pdfjsVersion = '1.6.473';
var pdfjsBuild = 'a47fc2f';
var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null;
var pdfjsLibs = {};
(function pdfjsWrapper() {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.6.471",
"version": "1.6.473",
"main": "build/pdf.js",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [
Expand Down
40 changes: 40 additions & 0 deletions web/compatibility.js
Original file line number Diff line number Diff line change
Expand Up @@ -596,4 +596,44 @@ if (typeof PDFJS === 'undefined') {
});
})();

// Provides `input.type = 'type'` runtime failure protection.
// Support: IE9,10.
(function checkInputTypeNumberAssign() {
var el = document.createElement('input');
try {
el.type = 'number';
} catch (ex) {
var inputProto = el.constructor.prototype;
var typeProperty = Object.getOwnPropertyDescriptor(inputProto, 'type');
Object.defineProperty(inputProto, 'type', {
get: function () { return typeProperty.get.call(this); },
set: function (value) {
typeProperty.set.call(this, value === 'number' ? 'text' : value);
},
enumerable: true,
configurable: true
});
}
})();

// Provides correct document.readyState value for legacy browsers.
// Support: IE9,10.
(function checkDocumentReadyState() {
if (!document.attachEvent) {
return;
}
var documentProto = document.constructor.prototype;
var readyStateProto = Object.getOwnPropertyDescriptor(documentProto,
'readyState');
Object.defineProperty(documentProto, 'readyState', {
get: function () {
var value = readyStateProto.get.call(this);
return value === 'interactive' ? 'loading' : value;
},
set: function (value) { readyStateProto.set.call(this, value); },
enumerable: true,
configurable: true
});
})();

}).call((typeof window === 'undefined') ? this : window);

0 comments on commit 911f93d

Please sign in to comment.