Files
meteor/docs/client/packages/coffeescript.html
David Glasser 70883fdc42 Remove "write to the global" coffeescript instructions.
As part of a docs pass we will explain the new way to use coffeescript globals.

(In short: in a package, anything declared with `api.export` becomes
package-level and exported. If you want something package-level and not
exported, or app-level, there's an object `share` and you can assign to fields
on it.)
2013-08-02 17:13:49 -07:00

16 lines
515 B
HTML

<template name="pkg_coffeescript">
{{#better_markdown}}
## `coffeescript`
[CoffeeScript](http://coffeescript.org/) is a little language that
compiles into JavaScript. It provides a simple syntax without lots of
braces and parentheses. The code compiles one-to-one into the
equivalent JS, and there is no interpretation at runtime.
CoffeeScript is supported on both the client and the server. Files
ending with `.coffee` or `.litcoffee` are automatically compiled to
JavaScript.
{{/better_markdown}}
</template>