Unfancy JavaScript
Go to file
Geoffrey Booth db86dc4d8b
AST tests (#5097)
* fix momentum scrolling on iOS (#5083)

* Revert "fix momentum scrolling on iOS (#5083)" (#5084)

This reverts commit 812571843c.

* AST tests (WIP)

* added tests

* cleanup

new helpers for cleaner code

* more tests

tests are mostly complete now.
also included one for our helper function.

* string quotes

* Update dependencies; disable some babel-minify transforms to work around https://github.com/babel/minify/issues/893 (#5095)

* more tests + refactor

* Remove unused helper function; improve logging output

* Add tests for ImportNamespaceSpecifier, Expansion; cleanup

* CI: Test first before building, so that the tests run on the committed, built files in /lib; the build parts of CI are only a test that the build process succeeds, so we shouldn't be testing the output of the CI build steps
2018-08-18 15:45:31 -07:00
bin Throw warning for unsupported runtimes, e.g. Node < 6 (#4839) 2018-01-14 23:40:36 -08:00
docs AST tests (#5097) 2018-08-18 15:45:31 -07:00
documentation 2.3.1 (#5069) 2018-05-21 22:14:34 -07:00
lib/coffeescript Chained do IIFE: use grammar, not rewriter (#5070) 2018-07-11 22:37:05 -07:00
src Chained do IIFE: use grammar, not rewriter (#5070) 2018-07-11 22:37:05 -07:00
test AST tests (#5097) 2018-08-18 15:45:31 -07:00
.babelrc Option to transpile with Babel (#4697) 2017-09-15 06:58:18 -07:00
.gitignore [CS2] Destructuring object spreads (#4493) 2017-06-29 22:57:42 -07:00
.nojekyll Move v1 documentation under `docs/v1`, with `docs/index.html` symlinking to `docs/v1/index.html` (with `.nojekyll` file to hopefully make the symlink work) 2016-11-15 20:54:30 -08:00
.travis.yml AST tests (#5097) 2018-08-18 15:45:31 -07:00
CODE_OF_CONDUCT.md Code of Conduct (#4992) 2018-02-26 22:18:13 -08:00
CONTRIBUTING.md 2.3.0 (#5043) 2018-04-28 18:57:15 -07:00
Cakefile AST tests (#5097) 2018-08-18 15:45:31 -07:00
ISSUE_TEMPLATE.md 2.3.1 (#5069) 2018-05-21 22:14:34 -07:00
LICENSE [update] copyright year to 2018 (#4988) 2018-02-24 23:40:11 -08:00
PULL_REQUEST_TEMPLATE.md 2.3.1 (#5069) 2018-05-21 22:14:34 -07:00
README.md 2.3.1 (#5069) 2018-05-21 22:14:34 -07:00
appveyor.yml AST tests (#5097) 2018-08-18 15:45:31 -07:00
bower.json [CS2] Module should be require-able in non-Node environments like Webpack and Browserify (#4546) 2017-05-13 21:20:36 -07:00
package-lock.json AST tests (#5097) 2018-08-18 15:45:31 -07:00
package.json AST tests (#5097) 2018-08-18 15:45:31 -07:00
register.js Remove hyphen in `coffee-script` 2017-02-12 17:00:05 -08:00
repl.js Remove hyphen in `coffee-script` 2017-02-12 17:00:05 -08:00

README.md

      @@@@@@@                @@@@  @@@@@
     @@@@@@@@@@              @@@   @@@                                           {
    @@@@     @@              @@@   @@@                                        }   }   {
   @@@@          @@@@@@@    @@@   @@@     @@@@@@    @@@@@@                   {   {  }  }
  @@@@          @@@   @@  @@@@@  @@@@@@  @@@   @@  @@@@  @@                   }   }{  {
  @@@@         @@@@   @@   @@@    @@@   @@@   @@@ @@@   @@@                  {  }{  }  }
  @@@@        @@@@    @@   @@@    @@@   @@@@@@@@  @@@@@@@@                  { }{ }{  { }
  @@@@@       @@@@   @@    @@@    @@@   @@@       @@@                     {  { } { } { }  }
   @@@@@@@@@@ @@@@@@@@    @@@    @@@    @@@@@@@@  @@@@@@@@                 { }   { }   { }
      @@@@@               @@@    @@@      @@@@@     @@@@@           @@@@@@   { }   { }    @@@@@@@
                         @@@    @@@                                 @@@@@@@@@@@@@@@@@@@@@@@@@@@@
      @@@@@@            @@@    @@@                                @@ @@@@@@@@@@@@@@@@@@@@@@@@@@
   @@@@    @@          @@@   @@@@                                @@   @@@@@@@@@@@@@@@@@@@@@@@@
   @@@@   @@@                       @@                  @@@@     @@@   @@@@@@@@@@@@@@@@@@@@@
   @@@@@          @@@@@   @@  @@   @@@     @@@@@@@     @@@@@      @@@    @@@@@@@@@@@@@@@@@@
     @@@@@      @@@  @@@ @@@@@@@@         @@@@  @@@@  @@@@@@@       @@@   @@@@@@@@@@@@@@@@
       @@@@@   @@@       @@@@     @@@@    @@@    @@@   @@@                 @@@@@@@@@@@@@@
 @@@@@  @@@@  @@@@      @@@@      @@@@   @@@@   @@@@  @@@@
@@@     @@@@  @@@       @@@@     @@@@    @@@    @@@@  @@@@
@@@     @@@@  @@@@     @@@@      @@@@   @@@@   @@@@  @@@@
 @@@@@@@@@     @@@@@@  @@@@       @@@@  @@@@@@@@@    @@@@
                                       @@@          @@@@
                                      @@@
                                      @@@

CoffeeScript is a little language that compiles into JavaScript.

Installation

Once you have Node.js installed:

# Install locally for a project:
npm install --save-dev coffeescript

# Install globally to execute .coffee files anywhere:
npm install --global coffeescript

Getting Started

Execute a script:

coffee /path/to/script.coffee

Compile a script:

coffee -c /path/to/script.coffee

For documentation, usage, and examples, see: https://coffeescript.org/

To suggest a feature or report a bug: https://github.com/jashkenas/coffeescript/issues

If youd like to chat, drop by #coffeescript on Freenode IRC.

The source repository: https://github.com/jashkenas/coffeescript.git

Changelog: https://coffeescript.org/#changelog

Our lovely and talented contributors are listed here: https://github.com/jashkenas/coffeescript/contributors