From 11078dddbb94c620bff13a7c656390392b2007f8 Mon Sep 17 00:00:00 2001 From: Javan Makhmali Date: Mon, 23 May 2016 09:37:16 -0400 Subject: Build action_cable.js with Blade --- actioncable/app/assets/javascripts/action_cable.coffee.erb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'actioncable/app/assets') 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 -- cgit v1.2.3