I\'d like to write Javascript scripts for Google Apps Script using CoffeeScript, and I\'m having trouble generating functions in the expected form.
Google Apps Scrip
CoffeeScript does not allow you to create anything in the global namespace implicitly; but, you can do this by directly specifying the global namespace.
window.someFunc = (someParam) -> alert(someParam)