aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/app/assets
diff options
context:
space:
mode:
authorJavan Makhmali <javan@javan.us>2016-05-23 09:37:16 -0400
committerJavan Makhmali <javan@javan.us>2016-05-24 13:11:10 -0400
commit11078dddbb94c620bff13a7c656390392b2007f8 (patch)
tree65216a0d9e047bf55db62f7878d931d9ae8bd1ee /actioncable/app/assets
parent6a2b2058e57d0474588fcabad261182cdb8866ef (diff)
downloadrails-11078dddbb94c620bff13a7c656390392b2007f8.tar.gz
rails-11078dddbb94c620bff13a7c656390392b2007f8.tar.bz2
rails-11078dddbb94c620bff13a7c656390392b2007f8.zip
Build action_cable.js with Blade
Diffstat (limited to 'actioncable/app/assets')
-rw-r--r--actioncable/app/assets/javascripts/action_cable.coffee.erb7
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