clean up code

This commit is contained in:
sbarman 2011-06-21 22:43:03 -07:00
parent f0a580e1e7
commit ec19935ffb

3
pdf.js
View File

@ -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");