From 046abf397cee73363f505ca90c8e455d6121edf9 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Thu, 27 Feb 2014 17:46:17 +0100 Subject: [PATCH] Don't silence pusher warnings --- assets/scripts/app/pusher.coffee | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/assets/scripts/app/pusher.coffee b/assets/scripts/app/pusher.coffee index 93cd3342..faf00514 100644 --- a/assets/scripts/app/pusher.coffee +++ b/assets/scripts/app/pusher.coffee @@ -85,8 +85,4 @@ $.extend Travis.Pusher.prototype, { annotation: data } warn: (type, warning) -> - console.warn(warning) unless @ignoreWarning(warning) - - ignoreWarning: (warning) -> - if message = warning.data?.message - message.indexOf('Existing subscription') == 0 or message.indexOf('No current subscription') == 0 + console.warn(warning)