Browse Source

PDF.js version 1.0.389

master v1.0.389
Yury Delendik 11 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 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.0.387", "version": "1.0.389",
"keywords": [ "keywords": [
"Mozilla", "Mozilla",
"pdf", "pdf",

4
build/pdf.combined.js

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

4
build/pdf.js

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

2
package.json

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

16
web/compatibility.js

@ -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 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) { if ('requestAnimationFrame' in window) {
return; return;
} }
window.requestAnimationFrame = window.requestAnimationFrame =
window.mozRequestAnimationFrame || window.mozRequestAnimationFrame ||
window.webkitRequestAnimationFrame || window.webkitRequestAnimationFrame ||
(function fakeRequestAnimationFrame(callback) { fakeRequestAnimationFrame;
window.setTimeout(callback, 20);
});
})(); })();
(function checkCanvasSizeLimitation() { (function checkCanvasSizeLimitation() {

Loading…
Cancel
Save