2
0

ensure-console.js 216 B

12345678910
  1. /* Make sure that console is defined */
  2. if(typeof console === "undefined") {
  3. this.console = {
  4. log: function() {},
  5. warn: function() {},
  6. info: function() {},
  7. debug: function() {},
  8. error: function() {}
  9. };
  10. }