changeset 381:bfc5ad3f7dc5

Use rails' builtin jquery instead of external one.
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 02:51:58 +0900
parents 2ddd61aca2c8
children 8ceb373e32d8
files app/assets/javascripts/application.coffee app/views/layouts/application.html.erb
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/assets/javascripts/application.coffee	Sun Jun 07 02:45:49 2015 +0900
+++ b/app/assets/javascripts/application.coffee	Sun Jun 07 02:51:58 2015 +0900
@@ -1,2 +1,3 @@
+#= require jquery
 #= require jquery_ujs
 #= require boot
--- a/app/views/layouts/application.html.erb	Sun Jun 07 02:45:49 2015 +0900
+++ b/app/views/layouts/application.html.erb	Sun Jun 07 02:51:58 2015 +0900
@@ -20,7 +20,6 @@
       <%= yield %>
     </main>
 
-    <%= javascript_include_tag "//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" %>
     <%= javascript_include_tag "application" %>
   </body>
 </html>