My favorites | Sign in
Project Logo
                
Feeds:
People details
Project owners:
  william.harding

This is a lightweight utility designed to allow the user to declare Javascript from anywhere during their render pass (in the partial, through helpers, etc) and have all that Javascript rendered/executed at the end of the page. This helps with perceived render times, and is highly advocated by best practices the web over.

Easy to use syntax, and flexibility to queue Javascript that is rendered upon after the document loads, or Javascript that is just declared on the page, but not executed until called.

Works without any special setup for either rendering partials or entire actions.

See also: http://www.williambharding.com/blog/rails/rails-plugin-javascript-unqueue-spring-all-javascript-output-at-page-bottom/









Hosted by Google Code