Permalink
Browse files

Add console mock

  • Loading branch information...
1 parent b741fb8 commit d20be41da674cbe87ee994fc00dc4465c550dc7a @pusewicz pusewicz committed May 11, 2010
Showing with 9 additions and 0 deletions.
  1. +9 −0 public/vendor/console.js
View
@@ -0,0 +1,9 @@
+if (!window.console) {
+ window.console = {
+ log: function () {},
+ group: function () {},
+ error: function () {},
+ warn: function () {},
+ groupEnd: function () {}
+ };
+}

0 comments on commit d20be41

Please sign in to comment.