Browse Source

PDF.js version 1.0.237

master v1.0.237
Yury Delendik 10 years ago
parent
commit
9546fdc826
  1. 2
      bower.json
  2. 11
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 11
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.0.235", "version": "1.0.237",
"keywords": [ "keywords": [
"Mozilla", "Mozilla",
"pdf", "pdf",

11
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.235'; PDFJS.version = '1.0.237';
PDFJS.build = 'fe27a76'; PDFJS.build = 'd2da73b';
(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
@ -10492,9 +10492,10 @@ var Catalog = (function CatalogClosure() {
this.fontCache.forEach(function (promise) { this.fontCache.forEach(function (promise) {
promises.push(promise); promises.push(promise);
}); });
return Promise.all(promises).then(function (fonts) { return Promise.all(promises).then(function (translatedFonts) {
for (var i = 0, ii = fonts.length; i < ii; i++) { for (var i = 0, ii = translatedFonts.length; i < ii; i++) {
delete fonts[i].translated; var font = translatedFonts[i].dict;
delete font.translated;
} }
this.fontCache.clear(); this.fontCache.clear();
}.bind(this)); }.bind(this));

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.235'; PDFJS.version = '1.0.237';
PDFJS.build = 'fe27a76'; PDFJS.build = 'd2da73b';
(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

11
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.235'; PDFJS.version = '1.0.237';
PDFJS.build = 'fe27a76'; PDFJS.build = 'd2da73b';
(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
@ -5898,9 +5898,10 @@ var Catalog = (function CatalogClosure() {
this.fontCache.forEach(function (promise) { this.fontCache.forEach(function (promise) {
promises.push(promise); promises.push(promise);
}); });
return Promise.all(promises).then(function (fonts) { return Promise.all(promises).then(function (translatedFonts) {
for (var i = 0, ii = fonts.length; i < ii; i++) { for (var i = 0, ii = translatedFonts.length; i < ii; i++) {
delete fonts[i].translated; var font = translatedFonts[i].dict;
delete font.translated;
} }
this.fontCache.clear(); this.fontCache.clear();
}.bind(this)); }.bind(this));

2
package.json

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

Loading…
Cancel
Save