Browse Source

PDF.js version 1.0.389

master v1.0.389
Yury Delendik 10 years ago
parent
commit
755978a985
  1. 2
      bower.json
  2. 4
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 4
      build/pdf.worker.js
  5. 2
      package.json
  6. 16
      web/compatibility.js

2
bower.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.0.387",
"version": "1.0.389",
"keywords": [
"Mozilla",
"pdf",

4
build/pdf.combined.js

@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.0.387';
PDFJS.build = 'b160e85';
PDFJS.version = '1.0.389';
PDFJS.build = 'bab40ca';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it

4
build/pdf.js

@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.0.387';
PDFJS.build = 'b160e85';
PDFJS.version = '1.0.389';
PDFJS.build = 'bab40ca';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it

4
build/pdf.worker.js vendored

@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.0.387';
PDFJS.build = 'b160e85';
PDFJS.version = '1.0.389';
PDFJS.build = 'bab40ca';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it

2
package.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.0.387",
"version": "1.0.389",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [
"Mozilla",

16
web/compatibility.js

@ -495,17 +495,25 @@ if (typeof PDFJS === 'undefined') { @@ -495,17 +495,25 @@ if (typeof PDFJS === 'undefined') {
}
})();
// Support: IE<10, Android<4.0, iOS<5.0
// Support: IE<10, Android<4.0, iOS
(function checkRequestAnimationFrame() {
function fakeRequestAnimationFrame(callback) {
window.setTimeout(callback, 20);
}
var isIOS = /(iPad|iPhone|iPod)/g.test(navigator.userAgent);
if (isIOS) {
// requestAnimationFrame on iOS is broken, replacing with fake one.
window.requestAnimationFrame = fakeRequestAnimationFrame;
return;
}
if ('requestAnimationFrame' in window) {
return;
}
window.requestAnimationFrame =
window.mozRequestAnimationFrame ||
window.webkitRequestAnimationFrame ||
(function fakeRequestAnimationFrame(callback) {
window.setTimeout(callback, 20);
});
fakeRequestAnimationFrame;
})();
(function checkCanvasSizeLimitation() {

Loading…
Cancel
Save