I\'m trying to use Jasmine for unit testing for a small application written in coffeescript. I\'ve found many sources saying that unit testing can be done perfectly well on JS compiled from coffeescri
I forked the excellent zen-coding project, with an idea to implement DOM ascension using a ^ - so you can do:
Following the advice here I can get a shell script in JavaScript that runs under node.js and prints a bit of hello world html:
I have an application which uses some Javascript for basic Ajax requests such as autocompletion and live search. For example I implemented live search in the following way; I spotted some potential is
Reading through this, I came to the bit on default values for function arguments: fill = (container, liquid = \"coffee\") ->
I would like to something like this in JavaScript var init = function () { // do some stuff once var once = true
I think this is more of a CoffeeScript question.I want to be able to use classes from Backbone in a foo.coffee file.I tried using the -r option to require Backbone when running the coffee command:
This question already has answers here: Why use the javascript function wrapper (added in coffeescript) ".call(this)"
In the following code I was wondering if it\'s okay to adjust the tests that do the name checking. Because once I add the code that checks that the ID cannot be null my first 3 tests fail.
Is there a way to send CoffeeScript to the client\'s browser and have it compiled to JavaScript there?