Browse Source

PDF.js version 1.0.676

master v1.0.676
Yury Delendik 10 years ago
parent
commit
1275183d6d
  1. 2
      bower.json
  2. 8
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 8
      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.674",
"version": "1.0.676",
"keywords": [
"Mozilla",
"pdf",

8
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.0.674';
PDFJS.build = 'cd5bd9f';
PDFJS.version = '1.0.676';
PDFJS.build = '9d87cbc';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -11202,7 +11202,7 @@ var PDFFunction = (function PDFFunctionClosure() { @@ -11202,7 +11202,7 @@ var PDFFunction = (function PDFFunctionClosure() {
}
length *= outputSize;
var array = [];
var array = new Array(length);
var codeSize = 0;
var codeBuf = 0;
// 32 is a valid bps so shifting won't work
@ -11217,7 +11217,7 @@ var PDFFunction = (function PDFFunctionClosure() { @@ -11217,7 +11217,7 @@ var PDFFunction = (function PDFFunctionClosure() {
codeSize += 8;
}
codeSize -= bps;
array.push((codeBuf >> codeSize) * sampleMul);
array[i] = (codeBuf >> codeSize) * sampleMul;
codeBuf &= (1 << codeSize) - 1;
}
return array;

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.0.674';
PDFJS.build = 'cd5bd9f';
PDFJS.version = '1.0.676';
PDFJS.build = '9d87cbc';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it

8
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.0.674';
PDFJS.build = 'cd5bd9f';
PDFJS.version = '1.0.676';
PDFJS.build = '9d87cbc';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -5219,7 +5219,7 @@ var PDFFunction = (function PDFFunctionClosure() { @@ -5219,7 +5219,7 @@ var PDFFunction = (function PDFFunctionClosure() {
}
length *= outputSize;
var array = [];
var array = new Array(length);
var codeSize = 0;
var codeBuf = 0;
// 32 is a valid bps so shifting won't work
@ -5234,7 +5234,7 @@ var PDFFunction = (function PDFFunctionClosure() { @@ -5234,7 +5234,7 @@ var PDFFunction = (function PDFFunctionClosure() {
codeSize += 8;
}
codeSize -= bps;
array.push((codeBuf >> codeSize) * sampleMul);
array[i] = (codeBuf >> codeSize) * sampleMul;
codeBuf &= (1 << codeSize) - 1;
}
return array;

2
package.json

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

Loading…
Cancel
Save