From 31ca464c311650e0a5ee7a1b2803605e64b390c1 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Mon, 9 Mar 2015 14:51:37 -0400 Subject: [PATCH] We define `console.log` as an empty function for old browsers now --- config/initializers/logster.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/config/initializers/logster.rb b/config/initializers/logster.rb index 525512ae208..289c6b3d3af 100644 --- a/config/initializers/logster.rb +++ b/config/initializers/logster.rb @@ -7,15 +7,6 @@ if Rails.env.production? /^ActionController::UnknownFormat/, - # some old browsers don't define the JavaScript console - # - # 'console' is undefined - # Url: http://discourse-cdn.codinghorror.com/assets/vendor-0dbc6e71b0ee5428574e3562afe91ef1.js - # Line: 16 - # Window Location: http://discourse.codinghorror.com/t/the-non-programming-programmer/120/2 - # - /^'console' is undefined/, - # ignore any empty JS errors that contain blanks or zeros for line and column fields # # Line: