about summary refs log tree commit diff stats
path: root/app/assets
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-06-24 14:20:22 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-06-24 14:20:22 -0400
commit5581530930129d7854ed5d99d058939ad9c790c2 (patch)
tree157515f64b34a86e0f6d33dc641e06a7ecc2982c /app/assets
downloadthoughts-5581530930129d7854ed5d99d058939ad9c790c2.tar.gz
thoughts-5581530930129d7854ed5d99d058939ad9c790c2.tar.bz2
thoughts-5581530930129d7854ed5d99d058939ad9c790c2.zip
Initial commit
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/config/manifest.js3
-rw-r--r--app/assets/images/.keep0
-rw-r--r--app/assets/javascripts/application.js15
-rw-r--r--app/assets/javascripts/cable.js13
-rw-r--r--app/assets/javascripts/channels/.keep0
-rw-r--r--app/assets/stylesheets/application.css15
6 files changed, 46 insertions, 0 deletions
diff --git a/app/assets/config/manifest.js b/app/assets/config/manifest.js new file mode 100644 index 0000000..b16e53d --- /dev/null +++ b/app/assets/config/manifest.js
@@ -0,0 +1,3 @@
1//= link_tree ../images
2//= link_directory ../javascripts .js
3//= link_directory ../stylesheets .css
diff --git a/app/assets/images/.keep b/app/assets/images/.keep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/app/assets/images/.keep
diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js new file mode 100644 index 0000000..46b2035 --- /dev/null +++ b/app/assets/javascripts/application.js
@@ -0,0 +1,15 @@
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, or any plugin's
5// 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 rails-ujs
14//= require turbolinks
15//= require_tree .
diff --git a/app/assets/javascripts/cable.js b/app/assets/javascripts/cable.js new file mode 100644 index 0000000..739aa5f --- /dev/null +++ b/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/app/assets/javascripts/channels/.keep b/app/assets/javascripts/channels/.keep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/app/assets/javascripts/channels/.keep
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css new file mode 100644 index 0000000..d05ea0f --- /dev/null +++ b/app/assets/stylesheets/application.css
@@ -0,0 +1,15 @@
1/*
2 * This is a manifest file that'll be compiled into application.css, which will include all the files
3 * listed below.
4 *
5 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
6 * vendor/assets/stylesheets directory can be referenced here using a relative path.
7 *
8 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10 * files in this directory. Styles in this file should be added after the last require_* statement.
11 * It is generally better to create a new file per style scope.
12 *
13 *= require_tree .
14 *= require_self
15 */