javascripts tags should be placed at the bottom by default #7888

Closed
wants to merge 1 commit into
from

Projects

None yet

3 participants

xdite commented Oct 9, 2012

according Best Practices for Speeding Up Your Web Site

http://developer.yahoo.com/performance/rules.html
javascripts should be placed at the bottom

and recommend write javascripts this way

Your view content here
<%= content_for(:scripts) do %>
<script>
  Your scripts here
</script>
<% end %>

👍 👍 👍

@xdite xdite javascripts should be placed at the bottom : according Best Practices…
… for Speeding Up Your Web Site


http://developer.yahoo.com/performance/rules.html
javascripts should be placed at the bottom

and write javascripts this way

=====
Your view content here
<%= content_for(:scripts) do %>
<script>
  Your scripts here
</script>
<% end %>
======
a2680c1
Member

See #5815 and #5921. Closing this.

@vijaydev vijaydev closed this Oct 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment