summaryrefslogtreecommitdiff
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorTomer Kimia <tkimia@purdue.edu>2014-03-04 19:51:46 -0500
committerTomer Kimia <tkimia@purdue.edu>2014-03-04 19:51:46 -0500
commitd73a82b74685df29eb37c1a8b250951827dc164b (patch)
treee9fc3e56cc60e4262f4870e834b7dbc5f13e31d2 /app/assets/javascripts
parent7ea754bef9e07405a86ce3fc9b0597fef3c1aa35 (diff)
parent6db29eb669a85e5b0aac7a1e8879781a1cb77772 (diff)
I REALLY hope I'm not overwriting anything
Merge branch 'master' of https://github.com/LukeShu/leaguer Conflicts: app/assets/stylesheets/custom.css.scss
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/ajax.js6
-rw-r--r--app/assets/javascripts/application.js16
2 files changed, 21 insertions, 1 deletions
diff --git a/app/assets/javascripts/ajax.js b/app/assets/javascripts/ajax.js
index 31578dd..040c100 100644
--- a/app/assets/javascripts/ajax.js
+++ b/app/assets/javascripts/ajax.js
@@ -12,4 +12,8 @@ function populate() {
;
}
};
-} \ No newline at end of file
+
+//$.ajax(url: "/selected").done (html) -> $("#ajax-form").append html
+
+}
+
diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js
new file mode 100644
index 0000000..d6925fa
--- /dev/null
+++ b/app/assets/javascripts/application.js
@@ -0,0 +1,16 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// compiled file.
+//
+// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
+// about supported directives.
+//
+//= require jquery
+//= require jquery_ujs
+//= require turbolinks
+//= require_tree .