Skip to content

Instantly share code, notes, and snippets.

@alg alg/footer.html.erb
Created Feb 25, 2010

Embed
What would you like to do?
Inlining JS
<%- content_for :on_dom_loaded do -%>
# JS to execute on DOM loaded event
<%- end -%>
<%- content_for :on_document_loaded do -%>
# JS to execute on document loaded event
<%- end -%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.