From 4f2719e8b216ce182d6e62064c87cbee3c29f0ad Mon Sep 17 00:00:00 2001 From: Thibaut Date: Tue, 19 Nov 2013 17:47:18 +0100 Subject: [PATCH] Prevent debug script from breaking the app --- assets/javascripts/debug.js.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/javascripts/debug.js.coffee b/assets/javascripts/debug.js.coffee index c3bb8f21..d4ca1775 100644 --- a/assets/javascripts/debug.js.coffee +++ b/assets/javascripts/debug.js.coffee @@ -1,3 +1,5 @@ +return unless console?.time and console.groupCollapsed + # # App #