Created
August 21, 2014 15:49
-
-
Save zacharyabresch/1b6a9ffe9071c697c949 to your computer and use it in GitHub Desktop.
Coffeescript for document.ready using Turbolinks
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
ready = -> | |
# Do stuff | |
console.log "READY!!" | |
$(document).ready ready | |
$(document).on 'page:load', ready |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment