Convert a CoffeeScript project to JavaScript (without minification)? [closed]

Compiling CoffeeScript into JavaScript usually results in JS that is fairly readable. You can convert snippets on the fly on the “Try CoffeeScript” tab of the CoffeeScript homepage, or via the CoffeeScript command line tool. There are also tools like decaffeinate that convert CoffeeScript source to modern JavaScript. If you know JavaScript and just want … Read more

Illegal continue statement?

If you want to continue with the next loop iteration, you want return, not continue, as what you’re passing to each is a function. In a comment you mentioned being familiar wih the C# foreach loop, hence wanting to use continue. The difference is that wih C#’s foreach, you’re dealing with an actual loop construct, … Read more

CoffeeScript unit testing?

You can use any javascript testing framework with CoffeeScript. This will be testing the Javascript that CoffeeScript outputs which is necessary since CoffeeScript itself can’t be executed. Writing your own testing framework for CoffeeScript is fun (I did) but entirely uneccessary. UPDATE: Jasmine tests can be run on node.js in which case both the tests … Read more