diff options
Diffstat (limited to 'actioncable/app/assets/javascripts/action_cable.coffee.erb')
-rw-r--r-- | actioncable/app/assets/javascripts/action_cable.coffee.erb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/actioncable/app/assets/javascripts/action_cable.coffee.erb b/actioncable/app/assets/javascripts/action_cable.coffee.erb index 32f9f517f4..210a3ae17e 100644 --- a/actioncable/app/assets/javascripts/action_cable.coffee.erb +++ b/actioncable/app/assets/javascripts/action_cable.coffee.erb @@ -1,3 +1,4 @@ +#= export ActionCable #= require_self #= require ./action_cable/consumer @@ -33,9 +34,3 @@ if @debugging messages.push(Date.now()) console.log("[ActionCable]", messages...) - -# NOTE: We expose ActionCable as a browser global so we can reference it -# internally without concern for how the module is loaded. -window?.ActionCable = @ActionCable - -module?.exports = @ActionCable |