aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/app
diff options
context:
space:
mode:
authorJeremy Daer <jeremydaer@gmail.com>2016-04-05 21:56:45 -0700
committerJeremy Daer <jeremydaer@gmail.com>2016-04-05 21:56:59 -0700
commit9c2945f4cc1017fc9424f2e425e4820da1ef33b0 (patch)
tree75af655b75ecfb0eddc862fcac461b2943929cb7 /actioncable/app
parentbf84a99239620b2b40b2a06f7214753fe586b0a7 (diff)
downloadrails-9c2945f4cc1017fc9424f2e425e4820da1ef33b0.tar.gz
rails-9c2945f4cc1017fc9424f2e425e4820da1ef33b0.tar.bz2
rails-9c2945f4cc1017fc9424f2e425e4820da1ef33b0.zip
Cable typo: isSupportedProtocol -> isProtocolSupported
Diffstat (limited to 'actioncable/app')
-rw-r--r--actioncable/app/assets/javascripts/action_cable/connection.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/app/assets/javascripts/action_cable/connection.coffee b/actioncable/app/assets/javascripts/action_cable/connection.coffee
index 822f25ac1d..d6a6397804 100644
--- a/actioncable/app/assets/javascripts/action_cable/connection.coffee
+++ b/actioncable/app/assets/javascripts/action_cable/connection.coffee
@@ -83,7 +83,7 @@ class ActionCable.Connection
events:
message: (event) ->
- return unless @isSupportedProtocol()
+ return unless @isProtocolSupported()
{identifier, message, type} = JSON.parse(event.data)
switch type
when message_types.welcome