Skip to content

Instantly share code, notes, and snippets.

@tyler-smith
Created November 27, 2012 00:02
Show Gist options
  • Save tyler-smith/4151476 to your computer and use it in GitHub Desktop.
Save tyler-smith/4151476 to your computer and use it in GitHub Desktop.
<script src='/sample.js'></script>
<script>
window.my_func('hello, world!');
</script>
my_func = (x) ->
alert(x)
window.my_func = my_func
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment