Skip to content

Instantly share code, notes, and snippets.

@zacharyabresch
Created August 21, 2014 15:49
Show Gist options
  • Save zacharyabresch/1b6a9ffe9071c697c949 to your computer and use it in GitHub Desktop.
Save zacharyabresch/1b6a9ffe9071c697c949 to your computer and use it in GitHub Desktop.
Coffeescript for document.ready using Turbolinks
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