jashkenas/coffee-script — pull request #1793 by TrevorBurnham (2011-10-22 17:16:35+00:00)
Title: Adding header to generated JS (#1778)

The proposal at #1778 seemed to get a favorable reception. Here's an implementation. As discussed:

* The option is on the `CoffeeScript.compile` function. It's disabled by default.
* The header is added to all JS files generated with the `coffee` command (`-c`), but not to stdio output (e.g. `-p`).

Thoughts? Refinements?