Skip to content

Instantly share code, notes, and snippets.

@YanTheFawn
Created December 14, 2013 20:54
Show Gist options
  • Save YanTheFawn/7964784 to your computer and use it in GitHub Desktop.
Save YanTheFawn/7964784 to your computer and use it in GitHub Desktop.
$(document).ready ->
$('.thing').click (e)->
specialVariable = (some stuff for calculating the variable here)
#function I want to run
someFunction(special_variable)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment