Browse Source

PDF.js version 1.1.303

master v1.1.303
Pdf Bot 10 years ago
parent
commit
10d5f3c64d
  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 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.1.301",
"version": "1.1.303",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

4
build/pdf.combined.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.1.301';
PDFJS.build = 'cf6d40f';
PDFJS.version = '1.1.303';
PDFJS.build = 'b35cbaa';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it

4
build/pdf.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.1.301';
PDFJS.build = 'cf6d40f';
PDFJS.version = '1.1.303';
PDFJS.build = 'b35cbaa';
(function pdfjsWrapper() {
// 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') { @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.1.301';
PDFJS.build = 'cf6d40f';
PDFJS.version = '1.1.303';
PDFJS.build = 'b35cbaa';
(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.1.301",
"version": "1.1.303",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [
"Mozilla",

10
web/pdf_viewer.js

@ -2150,6 +2150,10 @@ var PDFViewer = (function pdfViewer() { @@ -2150,6 +2150,10 @@ var PDFViewer = (function pdfViewer() {
}
this._setScale(this._currentScaleValue, true);
if (this.defaultRenderingQueue) {
this.update();
}
},
/**
@ -2287,7 +2291,7 @@ var PDFViewer = (function pdfViewer() { @@ -2287,7 +2291,7 @@ var PDFViewer = (function pdfViewer() {
}
},
_scrollUpdate: function () {
_scrollUpdate: function PDFViewer_scrollUpdate() {
if (this.pagesCount === 0) {
return;
}
@ -2336,6 +2340,10 @@ var PDFViewer = (function pdfViewer() { @@ -2336,6 +2340,10 @@ var PDFViewer = (function pdfViewer() {
}
this._setScaleDispatchEvent(newScale, newValue, preset);
if (this.defaultRenderingQueue) {
this.update();
}
},
_setScale: function pdfViewer_setScale(value, noScroll) {

Loading…
Cancel
Save