From b9be6da03146707be4456a045e781ab791772708 Mon Sep 17 00:00:00 2001 From: Sven Fuchs Date: Thu, 27 Sep 2012 22:48:45 +0200 Subject: [PATCH] don't warn on pusher errors for now --- assets/javascripts/app/pusher.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/javascripts/app/pusher.coffee b/assets/javascripts/app/pusher.coffee index 5d7e9ae0..e746afe7 100644 --- a/assets/javascripts/app/pusher.coffee +++ b/assets/javascripts/app/pusher.coffee @@ -42,8 +42,8 @@ $.extend Travis.Pusher.prototype, { worker: data } warn: (type, warning) -> - console.warn(warning) unless @ignoreWarning(warning) + # console.warn(warning) unless @ignoreWarning(warning) - ignoreWarning: (warning) -> - if message = warning.data?.message - message.indexOf('Existing subscription') == 0 || message.indexOf('No current subscription') == 0 + # ignoreWarning: (warning) -> + # if message = warning.data?.message + # message.indexOf('Existing subscription') == 0 || message.indexOf('No current subscription') == 0