Permalink
Browse files

with rails templates, we promote "Best practices" in web development.

Hence, we should move ALL JavaScripts at bottom of the page which would lead to better page load time.

Hence a comment has been added encouraging developers to move js at bottom of the page
  • Loading branch information...
1 parent 06674f0 commit f48d0fa443f92123368593eaf70d7665970c5bbb @gaurish committed Apr 21, 2012
@@ -9,6 +9,7 @@
<body>
<%%= yield %>
-
+<!-- Move JavaScript at the bottom for fast page loading. For more info see: http://developer.yahoo.com/performance/rules.html#js_bottom
+Notice: This may break inline javascript. -->
</body>
</html>

0 comments on commit f48d0fa

Please sign in to comment.