Browse Source

PDF.js version 1.0.1061

master v1.0.1061
Pdf Bot 10 years ago
parent
commit
c2cf72ac19
  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. 10
      web/pdf_viewer.js

2
bower.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.0.1059", "version": "1.0.1061",
"main": [ "main": [
"build/pdf.js", "build/pdf.js",
"build/pdf.worker.js" "build/pdf.worker.js"

4
build/pdf.combined.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.1059'; PDFJS.version = '1.0.1061';
PDFJS.build = '34bed63'; PDFJS.build = '3a540ca';
(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

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.1059'; PDFJS.version = '1.0.1061';
PDFJS.build = '34bed63'; PDFJS.build = '3a540ca';
(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

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.0.1059'; PDFJS.version = '1.0.1061';
PDFJS.build = '34bed63'; PDFJS.build = '3a540ca';
(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.1059", "version": "1.0.1061",
"description": "Generic build of Mozilla's PDF.js library.", "description": "Generic build of Mozilla's PDF.js library.",
"keywords": [ "keywords": [
"Mozilla", "Mozilla",

10
web/pdf_viewer.js

@ -929,10 +929,9 @@ var PDFPageView = (function PDFPageViewClosure() {
if (self.onAfterDraw) { if (self.onAfterDraw) {
self.onAfterDraw(); self.onAfterDraw();
} }
var event = document.createEvent('CustomEvent'); var event = document.createEvent('CustomEvent');
event.initCustomEvent('pagerender', true, true, { event.initCustomEvent('pagerendered', true, true, {
pageNumber: pdfPage.pageNumber pageNumber: self.id
}); });
div.dispatchEvent(event); div.dispatchEvent(event);
@ -1826,11 +1825,6 @@ var PDFViewer = (function pdfViewer() {
isOnePageRenderedResolved = true; isOnePageRenderedResolved = true;
resolveOnePageRendered(); resolveOnePageRendered();
} }
var event = document.createEvent('CustomEvent');
event.initCustomEvent('pagerendered', true, true, {
pageNumber: pageView.id
});
self.container.dispatchEvent(event);
}; };
}; };

Loading…
Cancel
Save