From: Andreas Gal Date: Sun, 12 Jun 2011 06:49:17 +0000 (-0700) Subject: remove debug code X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=bf2c5257880410637b113c1e29bf8bee50e8e479;p=pdf.js.git remove debug code --- diff --git a/pdf.js b/pdf.js index 0816dc0..418db24 100644 --- a/pdf.js +++ b/pdf.js @@ -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)');