Browse Source

PDF.js version 1.8.439 - See mozilla/pdf.js@08c6437196512a3f98e0febb9f6d8148f135cd98

master v1.8.439
pdfjsbot 8 years ago
parent
commit
741bda1a33
  1. 2
      bower.json
  2. 12
      build/pdf.combined.js
  3. 2
      build/pdf.combined.js.map
  4. 12
      build/pdf.js
  5. 2
      build/pdf.js.map
  6. 4
      build/pdf.min.js
  7. 4
      build/pdf.worker.js
  8. 2
      build/pdf.worker.js.map
  9. 4
      lib/display/api.js
  10. 4
      lib/display/global.js
  11. 4
      lib/pdf.js
  12. 4
      lib/pdf.worker.js
  13. 32
      lib/web/toolbar.js
  14. 2
      package.json

2
bower.json

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

12
build/pdf.combined.js

@ -13063,8 +13063,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}(); }();
var version, build; var version, build;
{ {
exports.version = version = '1.8.436'; exports.version = version = '1.8.439';
exports.build = build = '1766fe81'; exports.build = build = '08c64371';
} }
exports.getDocument = getDocument; exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort; exports.LoopbackPort = LoopbackPort;
@ -28413,8 +28413,8 @@ if (!_util.globalScope.PDFJS) {
} }
var PDFJS = _util.globalScope.PDFJS; var PDFJS = _util.globalScope.PDFJS;
{ {
PDFJS.version = '1.8.436'; PDFJS.version = '1.8.439';
PDFJS.build = '1766fe81'; PDFJS.build = '08c64371';
} }
PDFJS.pdfBug = false; PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) { if (PDFJS.verbosity !== undefined) {
@ -47031,8 +47031,8 @@ exports.TilingPattern = TilingPattern;
"use strict"; "use strict";
var pdfjsVersion = '1.8.436'; var pdfjsVersion = '1.8.439';
var pdfjsBuild = '1766fe81'; var pdfjsBuild = '08c64371';
var pdfjsSharedUtil = __w_pdfjs_require__(0); var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(26); var pdfjsDisplayGlobal = __w_pdfjs_require__(26);
var pdfjsDisplayAPI = __w_pdfjs_require__(10); var pdfjsDisplayAPI = __w_pdfjs_require__(10);

2
build/pdf.combined.js.map

File diff suppressed because one or more lines are too long

12
build/pdf.js

@ -3792,8 +3792,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}(); }();
var version, build; var version, build;
{ {
exports.version = version = '1.8.436'; exports.version = version = '1.8.439';
exports.build = build = '1766fe81'; exports.build = build = '08c64371';
} }
exports.getDocument = getDocument; exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort; exports.LoopbackPort = LoopbackPort;
@ -5766,8 +5766,8 @@ if (!_util.globalScope.PDFJS) {
} }
var PDFJS = _util.globalScope.PDFJS; var PDFJS = _util.globalScope.PDFJS;
{ {
PDFJS.version = '1.8.436'; PDFJS.version = '1.8.439';
PDFJS.build = '1766fe81'; PDFJS.build = '08c64371';
} }
PDFJS.pdfBug = false; PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) { if (PDFJS.verbosity !== undefined) {
@ -11306,8 +11306,8 @@ exports.TilingPattern = TilingPattern;
"use strict"; "use strict";
var pdfjsVersion = '1.8.436'; var pdfjsVersion = '1.8.439';
var pdfjsBuild = '1766fe81'; var pdfjsBuild = '08c64371';
var pdfjsSharedUtil = __w_pdfjs_require__(0); var pdfjsSharedUtil = __w_pdfjs_require__(0);
var pdfjsDisplayGlobal = __w_pdfjs_require__(9); var pdfjsDisplayGlobal = __w_pdfjs_require__(9);
var pdfjsDisplayAPI = __w_pdfjs_require__(3); var pdfjsDisplayAPI = __w_pdfjs_require__(3);

2
build/pdf.js.map

File diff suppressed because one or more lines are too long

4
build/pdf.min.js vendored

File diff suppressed because one or more lines are too long

4
build/pdf.worker.js vendored

@ -40319,8 +40319,8 @@ exports.Type1Parser = Type1Parser;
"use strict"; "use strict";
var pdfjsVersion = '1.8.436'; var pdfjsVersion = '1.8.439';
var pdfjsBuild = '1766fe81'; var pdfjsBuild = '08c64371';
var pdfjsCoreWorker = __w_pdfjs_require__(8); var pdfjsCoreWorker = __w_pdfjs_require__(8);
{ {
__w_pdfjs_require__(19); __w_pdfjs_require__(19);

2
build/pdf.worker.js.map vendored

File diff suppressed because one or more lines are too long

4
lib/display/api.js

@ -1429,8 +1429,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}(); }();
var version, build; var version, build;
{ {
exports.version = version = '1.8.436'; exports.version = version = '1.8.439';
exports.build = build = '1766fe81'; exports.build = build = '08c64371';
} }
exports.getDocument = getDocument; exports.getDocument = getDocument;
exports.LoopbackPort = LoopbackPort; exports.LoopbackPort = LoopbackPort;

4
lib/display/global.js

@ -39,8 +39,8 @@ if (!_util.globalScope.PDFJS) {
} }
var PDFJS = _util.globalScope.PDFJS; var PDFJS = _util.globalScope.PDFJS;
{ {
PDFJS.version = '1.8.436'; PDFJS.version = '1.8.439';
PDFJS.build = '1766fe81'; PDFJS.build = '08c64371';
} }
PDFJS.pdfBug = false; PDFJS.pdfBug = false;
if (PDFJS.verbosity !== undefined) { if (PDFJS.verbosity !== undefined) {

4
lib/pdf.js

@ -14,8 +14,8 @@
*/ */
'use strict'; 'use strict';
var pdfjsVersion = '1.8.436'; var pdfjsVersion = '1.8.439';
var pdfjsBuild = '1766fe81'; var pdfjsBuild = '08c64371';
var pdfjsSharedUtil = require('./shared/util.js'); var pdfjsSharedUtil = require('./shared/util.js');
var pdfjsDisplayGlobal = require('./display/global.js'); var pdfjsDisplayGlobal = require('./display/global.js');
var pdfjsDisplayAPI = require('./display/api.js'); var pdfjsDisplayAPI = require('./display/api.js');

4
lib/pdf.worker.js vendored

@ -14,8 +14,8 @@
*/ */
'use strict'; 'use strict';
var pdfjsVersion = '1.8.436'; var pdfjsVersion = '1.8.439';
var pdfjsBuild = '1766fe81'; var pdfjsBuild = '08c64371';
var pdfjsCoreWorker = require('./core/worker.js'); var pdfjsCoreWorker = require('./core/worker.js');
{ {
require('./core/network.js'); require('./core/network.js');

32
lib/web/toolbar.js

@ -128,24 +128,24 @@ var Toolbar = function ToolbarClosure() {
return; return;
} }
var selectScaleOption = function selectScaleOption(value, scale) { var selectScaleOption = function selectScaleOption(value, scale) {
var options = items.scaleSelect.options; var customScale = Math.round(scale * 10000) / 100;
var predefinedValueFound = false; _this2.l10n.get('page_scale_percent', { scale: customScale }, '{{scale}}%').then(function (msg) {
for (var i = 0, ii = options.length; i < ii; i++) { var options = items.scaleSelect.options;
var option = options[i]; var predefinedValueFound = false;
if (option.value !== value) { for (var i = 0, ii = options.length; i < ii; i++) {
option.selected = false; var option = options[i];
continue; if (option.value !== value) {
option.selected = false;
continue;
}
option.selected = true;
predefinedValueFound = true;
} }
option.selected = true; if (!predefinedValueFound) {
predefinedValueFound = true;
}
if (!predefinedValueFound) {
var customScale = Math.round(scale * 10000) / 100;
_this2.l10n.get('page_scale_percent', { scale: customScale }, '{{scale}}%').then(function (msg) {
items.customScaleOption.textContent = msg; items.customScaleOption.textContent = msg;
}); items.customScaleOption.selected = true;
items.customScaleOption.selected = true; }
} });
}; };
var pageNumber = this.pageNumber; var pageNumber = this.pageNumber;
var scaleValue = (this.pageScaleValue || this.pageScale).toString(); var scaleValue = (this.pageScaleValue || this.pageScale).toString();

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.8.436", "version": "1.8.439",
"main": "build/pdf.js", "main": "build/pdf.js",
"description": "Generic build of Mozilla's PDF.js library.", "description": "Generic build of Mozilla's PDF.js library.",
"keywords": [ "keywords": [

Loading…
Cancel
Save