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 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.0.235",
"version": "1.0.237",
"keywords": [
"Mozilla",
"pdf",

11
build/pdf.combined.js

@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.0.235';
PDFJS.build = 'fe27a76';
PDFJS.version = '1.0.237';
PDFJS.build = 'd2da73b';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -10492,9 +10492,10 @@ var Catalog = (function CatalogClosure() { @@ -10492,9 +10492,10 @@ var Catalog = (function CatalogClosure() {
this.fontCache.forEach(function (promise) {
promises.push(promise);
});
return Promise.all(promises).then(function (fonts) {
for (var i = 0, ii = fonts.length; i < ii; i++) {
delete fonts[i].translated;
return Promise.all(promises).then(function (translatedFonts) {
for (var i = 0, ii = translatedFonts.length; i < ii; i++) {
var font = translatedFonts[i].dict;
delete font.translated;
}
this.fontCache.clear();
}.bind(this));

4
build/pdf.js

@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.0.235';
PDFJS.build = 'fe27a76';
PDFJS.version = '1.0.237';
PDFJS.build = 'd2da73b';
(function pdfjsWrapper() {
// 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') { @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.0.235';
PDFJS.build = 'fe27a76';
PDFJS.version = '1.0.237';
PDFJS.build = 'd2da73b';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -5898,9 +5898,10 @@ var Catalog = (function CatalogClosure() { @@ -5898,9 +5898,10 @@ var Catalog = (function CatalogClosure() {
this.fontCache.forEach(function (promise) {
promises.push(promise);
});
return Promise.all(promises).then(function (fonts) {
for (var i = 0, ii = fonts.length; i < ii; i++) {
delete fonts[i].translated;
return Promise.all(promises).then(function (translatedFonts) {
for (var i = 0, ii = translatedFonts.length; i < ii; i++) {
var font = translatedFonts[i].dict;
delete font.translated;
}
this.fontCache.clear();
}.bind(this));

2
package.json

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

Loading…
Cancel
Save