From: sbarman Date: Wed, 22 Jun 2011 05:43:03 +0000 (-0700) Subject: clean up code X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=f79f77174ceff97b4ce60bd7bec006057c51cb53;p=pdf.js.git clean up code --- diff --git a/pdf.js b/pdf.js index 5ed0eb5..766ea3b 100644 --- a/pdf.js +++ b/pdf.js @@ -1700,8 +1700,6 @@ var XRef = (function() { return this.fetch(obj); }, fetch: function(ref) { - if (!ref) - console.trace(); var num = ref.num; var e = this.cache[num]; if (e) @@ -2341,7 +2339,6 @@ var CanvasGraphics = (function() { constructor.prototype = { translateFont: function(fontDict, xref, resources) { - return; var descriptor = xref.fetch(fontDict.get("FontDescriptor")); var fontName = descriptor.get("FontName");