mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 23:18:18 -07:00
Add missing javascript dependencies to package.json. Move javascripts files to app/javascript. Add first javascript test. Change test mode
This commit is contained in:
parent
414eb83f6d
commit
7ba020d04d
13 changed files with 83 additions and 54 deletions
13
app/javascript/cable.js
Normal file
13
app/javascript/cable.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
// Action Cable provides the framework to deal with WebSockets in Rails.
|
||||
// You can generate new channels where WebSocket features live using the rails generate channel command.
|
||||
//
|
||||
//= require action_cable
|
||||
//= require_self
|
||||
//= require_tree ./channels
|
||||
|
||||
(function() {
|
||||
this.App || (this.App = {});
|
||||
|
||||
App.cable = ActionCable.createConsumer();
|
||||
|
||||
}).call(this);
|
||||
Loading…
Add table
Add a link
Reference in a new issue