Convert CoffeeScript to ES6 syntax

This commit is contained in:
Liroy Leshed 2020-04-17 14:41:40 +03:00 committed by GitHub
parent 2fac5de95b
commit 801716395c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -12,11 +12,11 @@ module ActionCable
# </head>
#
# This is then used by Action Cable to determine the URL of your WebSocket server.
# Your CoffeeScript can then connect to the server without needing to specify the
# Your JavaScript can then connect to the server without needing to specify the
# URL directly:
#
# #= require cable
# @App = {}
# window.Cable = require("@rails/actioncable")
# window.App = {}
# App.cable = Cable.createConsumer()
#
# Make sure to specify the correct server location in each of your environment