diff --git a/bower.json b/bower.json index 4eec8561b..f239f9784 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.274", + "version": "1.0.277", "keywords": [ "Mozilla", "pdf", diff --git a/build/pdf.combined.js b/build/pdf.combined.js index c6edbfd78..f9227088d 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.274'; -PDFJS.build = 'ff0672e'; +PDFJS.version = '1.0.277'; +PDFJS.build = '250d394'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/build/pdf.js b/build/pdf.js index 5effb1f38..ba36e3186 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.274'; -PDFJS.build = 'ff0672e'; +PDFJS.version = '1.0.277'; +PDFJS.build = '250d394'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 8a766a740..fc240dc37 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.274'; -PDFJS.build = 'ff0672e'; +PDFJS.version = '1.0.277'; +PDFJS.build = '250d394'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/package.json b/package.json index e9c2e7c3f..2887f6b55 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.274", + "version": "1.0.277", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla", diff --git a/web/compatibility.js b/web/compatibility.js index fd9f21585..07d26d3ed 100644 --- a/web/compatibility.js +++ b/web/compatibility.js @@ -496,7 +496,9 @@ if (typeof PDFJS === 'undefined') { if ('requestAnimationFrame' in window) { return; } - window.requestAnimationFrame = window.webkitRequestAnimationFrame || + window.requestAnimationFrame = + window.mozRequestAnimationFrame || + window.webkitRequestAnimationFrame || (function fakeRequestAnimationFrame(callback) { window.setTimeout(callback, 20); });