diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-09-16 18:46:55 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-09-16 18:46:55 -0400 |
commit | 5e62e771bf14f58dd1622d2e3631309caa201349 (patch) | |
tree | 76143baae833a4cfe0e05cefb18b5a31d15b74e9 /test/dummy/app/assets/javascripts | |
download | pokeviewer-5e62e771bf14f58dd1622d2e3631309caa201349.tar.gz pokeviewer-5e62e771bf14f58dd1622d2e3631309caa201349.tar.bz2 pokeviewer-5e62e771bf14f58dd1622d2e3631309caa201349.zip |
Initial commit
Diffstat (limited to 'test/dummy/app/assets/javascripts')
-rw-r--r-- | test/dummy/app/assets/javascripts/application.js | 13 | ||||
-rw-r--r-- | test/dummy/app/assets/javascripts/cable.js | 13 | ||||
-rw-r--r-- | test/dummy/app/assets/javascripts/channels/.keep | 0 |
3 files changed, 26 insertions, 0 deletions
diff --git a/test/dummy/app/assets/javascripts/application.js b/test/dummy/app/assets/javascripts/application.js new file mode 100644 index 0000000..e54c646 --- /dev/null +++ b/test/dummy/app/assets/javascripts/application.js | |||
@@ -0,0 +1,13 @@ | |||
1 | // This is a manifest file that'll be compiled into application.js, which will include all the files | ||
2 | // listed below. | ||
3 | // | ||
4 | // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, | ||
5 | // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path. | ||
6 | // | ||
7 | // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the | ||
8 | // compiled file. JavaScript code in this file should be added after the last require_* statement. | ||
9 | // | ||
10 | // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details | ||
11 | // about supported directives. | ||
12 | // | ||
13 | //= require_tree . | ||
diff --git a/test/dummy/app/assets/javascripts/cable.js b/test/dummy/app/assets/javascripts/cable.js new file mode 100644 index 0000000..739aa5f --- /dev/null +++ b/test/dummy/app/assets/javascripts/cable.js | |||
@@ -0,0 +1,13 @@ | |||
1 | // Action Cable provides the framework to deal with WebSockets in Rails. | ||
2 | // You can generate new channels where WebSocket features live using the `rails generate channel` command. | ||
3 | // | ||
4 | //= require action_cable | ||
5 | //= require_self | ||
6 | //= require_tree ./channels | ||
7 | |||
8 | (function() { | ||
9 | this.App || (this.App = {}); | ||
10 | |||
11 | App.cable = ActionCable.createConsumer(); | ||
12 | |||
13 | }).call(this); | ||
diff --git a/test/dummy/app/assets/javascripts/channels/.keep b/test/dummy/app/assets/javascripts/channels/.keep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/dummy/app/assets/javascripts/channels/.keep | |||