remove debug code

This commit is contained in:
Andreas Gal 2011-06-11 23:49:17 -07:00
parent d1cd02f0a7
commit 609842b76c

9
pdf.js
View File

@ -1971,14 +1971,7 @@ var CanvasGraphics = (function() {
var fn = sh.get("Function");
fn = this.xref.fetchIfRef(fn);
/*
console.log("x0: "+ x0, "y0: "+ y0, "x1: "+ x1, "y1: "+ y1);
console.log("size: "+ fn.dict.get("Size"));
console.log("BPS: "+ fn.dict.get("BitsPerSample"));
console.log(fn.dict.get("Encode"));
console.log(fn.dict.get("Range"));
console.log(fn.dict.get("Decode"));
*/
var gradient = this.ctx.createLinearGradient(x0, y0, x1, y1);
gradient.addColorStop(0, 'rgb(0,0,255)');