Browse Source

PDF.js version 1.1.350

master v1.1.350
Pdf Bot 10 years ago
parent
commit
cd29797163
  1. 2
      bower.json
  2. 20
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 20
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

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

20
build/pdf.combined.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.1.347'; PDFJS.version = '1.1.350';
PDFJS.build = '28130b9'; PDFJS.build = '72ecbec';
(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
@ -16572,7 +16572,7 @@ Shadings.Mesh = (function MeshClosure() {
var numComps = context.numComps; var numComps = context.numComps;
this.tmpCompsBuf = new Float32Array(numComps); this.tmpCompsBuf = new Float32Array(numComps);
var csNumComps = context.colorSpace; var csNumComps = context.colorSpace.numComps;
this.tmpCsCompsBuf = context.colorFn ? new Float32Array(csNumComps) : this.tmpCsCompsBuf = context.colorFn ? new Float32Array(csNumComps) :
this.tmpCompsBuf; this.tmpCompsBuf;
} }
@ -16692,13 +16692,10 @@ Shadings.Mesh = (function MeshClosure() {
reader.align(); reader.align();
} }
var psPacked = new Int32Array(ps);
mesh.figures.push({ mesh.figures.push({
type: 'triangles', type: 'triangles',
coords: psPacked, coords: new Int32Array(ps),
colors: psPacked colors: new Int32Array(ps),
}); });
} }
@ -16713,13 +16710,10 @@ Shadings.Mesh = (function MeshClosure() {
coords.push(coord); coords.push(coord);
colors.push(color); colors.push(color);
} }
var psPacked = new Int32Array(ps);
mesh.figures.push({ mesh.figures.push({
type: 'lattice', type: 'lattice',
coords: psPacked, coords: new Int32Array(ps),
colors: psPacked, colors: new Int32Array(ps),
verticesPerRow: verticesPerRow verticesPerRow: verticesPerRow
}); });
} }

4
build/pdf.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.1.347'; PDFJS.version = '1.1.350';
PDFJS.build = '28130b9'; PDFJS.build = '72ecbec';
(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

20
build/pdf.worker.js vendored

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {}; (typeof window !== 'undefined' ? window : this).PDFJS = {};
} }
PDFJS.version = '1.1.347'; PDFJS.version = '1.1.350';
PDFJS.build = '28130b9'; PDFJS.build = '72ecbec';
(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
@ -10171,7 +10171,7 @@ Shadings.Mesh = (function MeshClosure() {
var numComps = context.numComps; var numComps = context.numComps;
this.tmpCompsBuf = new Float32Array(numComps); this.tmpCompsBuf = new Float32Array(numComps);
var csNumComps = context.colorSpace; var csNumComps = context.colorSpace.numComps;
this.tmpCsCompsBuf = context.colorFn ? new Float32Array(csNumComps) : this.tmpCsCompsBuf = context.colorFn ? new Float32Array(csNumComps) :
this.tmpCompsBuf; this.tmpCompsBuf;
} }
@ -10291,13 +10291,10 @@ Shadings.Mesh = (function MeshClosure() {
reader.align(); reader.align();
} }
var psPacked = new Int32Array(ps);
mesh.figures.push({ mesh.figures.push({
type: 'triangles', type: 'triangles',
coords: psPacked, coords: new Int32Array(ps),
colors: psPacked colors: new Int32Array(ps),
}); });
} }
@ -10312,13 +10309,10 @@ Shadings.Mesh = (function MeshClosure() {
coords.push(coord); coords.push(coord);
colors.push(color); colors.push(color);
} }
var psPacked = new Int32Array(ps);
mesh.figures.push({ mesh.figures.push({
type: 'lattice', type: 'lattice',
coords: psPacked, coords: new Int32Array(ps),
colors: psPacked, colors: new Int32Array(ps),
verticesPerRow: verticesPerRow verticesPerRow: verticesPerRow
}); });
} }

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "pdfjs-dist", "name": "pdfjs-dist",
"version": "1.1.347", "version": "1.1.350",
"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