includes/clientside/static/enano-lib-basic.js
changeset 472 bc4b58034f4d
parent 461 717e71109645
child 473 518bc2b214f1
--- a/includes/clientside/static/enano-lib-basic.js	Sat Mar 01 23:02:05 2008 -0500
+++ b/includes/clientside/static/enano-lib-basic.js	Sun Mar 02 19:32:19 2008 -0500
@@ -272,6 +272,20 @@
   }
 }
 
+// wrapper for window.console
+if ( !window.console )
+{
+  window.console = {
+    log: function() {},
+    debug: function() {},
+    info: function() {},
+    warn: function() {},
+    warning: function() {},
+    error: function() {},
+    write: function() {}
+  }
+}
+
 // Do not remove the following comments, they are used by jsres.php.
 /*!START_INCLUDER*/
 
@@ -360,5 +374,4 @@
   }
 });
 
-
 //*/