]> git.parisson.com Git - pdf.js.git/commitdiff
remove debugging code
authorChris Jones <jones.chris.g@gmail.com>
Sat, 16 Jul 2011 01:41:52 +0000 (18:41 -0700)
committerChris Jones <jones.chris.g@gmail.com>
Sat, 16 Jul 2011 01:41:52 +0000 (18:41 -0700)
pdf.js

diff --git a/pdf.js b/pdf.js
index 4de525be03a761cbdf78b193a700ef0f3833ba51..05330db84c4502a84a774416d480453aaf545ef2 100644 (file)
--- 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) {