Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Search for all script[src] occurrences rather than just within the he…
…ad. The HTML4 specification states that a <script> tag may occur in the head or body of a document, and with Yahoo (http://developer.yahoo.com/performance/rules.html, see "Put Scripts at the Bottom") and others recommending putting your <script> tags at the end of your body to improve performance, and with Ruby on Rails (and other such frameworks) providing the content_for (http://api.rubyonrails.org/classes/ActionView/Helpers/CaptureHelper.html#M001763), it doesn't make sense to insist on loading Prototype and script.aculo.us within the head of a page.
- Loading branch information