From: Chris Jones Date: Sat, 16 Jul 2011 01:41:52 +0000 (-0700) Subject: remove debugging code X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=daf23a0341eddeb38a4762af3cb7a95b4dc33747;p=pdf.js.git remove debugging code --- diff --git a/pdf.js b/pdf.js index 4de525b..05330db 100644 --- a/pdf.js +++ b/pdf.js @@ -19,7 +19,7 @@ function warn(msg) { } function error(msg) { - console.log(backtrace()); + log(backtrace()); throw new Error(msg); } @@ -2849,13 +2849,6 @@ var XRef = (function() { return this.fetch(obj); }, fetch: function(ref) { - - - if ("undefined" == typeof ref) { - console.log(backtrace()); - } - - var num = ref.num; var e = this.cache[num]; if (e) @@ -4793,15 +4786,6 @@ var ColorSpace = (function() { }; constructor.parse = function colorspace_parse(cs, xref, res) { - - - - if ("undefined" == typeof(cs)) - console.log(backtrace()); - - - - if (IsName(cs)) { var colorSpaces = res.get('ColorSpace'); if (colorSpaces) {