Created
February 25, 2010 23:50
-
-
Save alg/315200 to your computer and use it in GitHub Desktop.
Inlining JS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%- 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