]> git.parisson.com Git - pdf.js.git/commitdiff
clean up code
authorsbarman <sbarman@L3CWZ5T.(none)>
Wed, 22 Jun 2011 05:43:03 +0000 (22:43 -0700)
committersbarman <sbarman@L3CWZ5T.(none)>
Wed, 22 Jun 2011 05:43:03 +0000 (22:43 -0700)
pdf.js

diff --git a/pdf.js b/pdf.js
index 5ed0eb59d9a2260cff4325aa172e0171074be61c..766ea3b28754a3e1614a7965b4935cd82a0fbaa4 100644 (file)
--- 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");