changeset 222:9bc35555d3e3

Use external jquery instead of rails' builtin Saves bandwidth and (hopefully) improves speed.
author Edho Arief <edho@myconan.net>
date Sun, 12 May 2013 12:38:03 +0900
parents 0f9f29274663
children 45ccec189bd7
files app/assets/javascripts/application.js app/views/layouts/application.html.erb
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/assets/javascripts/application.js	Sun May 12 12:25:27 2013 +0900
+++ b/app/assets/javascripts/application.js	Sun May 12 12:38:03 2013 +0900
@@ -10,7 +10,6 @@
 // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
 // GO AFTER THE REQUIRES BELOW.
 //
-//= require jquery
 //= require jquery_ujs
 //= require twitter/bootstrap/tab
 //= require twitter/bootstrap/button
--- a/app/views/layouts/application.html.erb	Sun May 12 12:25:27 2013 +0900
+++ b/app/views/layouts/application.html.erb	Sun May 12 12:38:03 2013 +0900
@@ -25,6 +25,7 @@
       </div>
     </div>
 
+    <%= javascript_include_tag "//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" %>
     <%= javascript_include_tag "application" %>
   </body>
 </html>