Top "Coffeescript" questions

CoffeeScript is a language that compiles into JavaScript.

Coffeescript 'this' inside jQuery .each()

I have some coffeescript like the following: class foo: @bar = 'bob loblaw' processRows: -> $("#my-table>tr").each -&…

javascript coffeescript
CoffeeScript on Windows?

How can I try CoffeeScript on Windows? The installation instructions are only for *nix: http://jashkenas.github.com/coffee-script/#installation …

windows coffeescript
Lodash Debounce not debouncing

I'm trying to debounce a function using Lodash, and while it's invoking the function, it doesn't seem to debounce it …

javascript angularjs coffeescript underscore.js lodash
can phantomjs work with node.js?

I would like to use phantomjs in my node.js script. there is a phantomjs-node library.. but unfortunately the author …

javascript jquery node.js coffeescript phantomjs
Function declaration in CoffeeScript

I notice that in CoffeeScript, if I define a function using: a = (c) -> c=1 I can only get …

javascript coffeescript jslint function-declaration
Remove a value from an array in CoffeeScript

I have an array: array = [..., "Hello", "World", "Again", ...] How could I check if "World" is in the array? Then remove …

javascript node.js coffeescript
Coffeescript unmatched outdent error

I'm getting the error SyntaxError: Unmatched OUTDENT on line 9 when I try to compile the following coffeescript code. I'm not …

coffeescript
Coffeescript: how do I convert a string to a number?

I am building a JSON object that is sent in a POST request. This object has properties that need to …

coffeescript
Functions In CoffeeScript

I'm trying to convert a function from Javascript to CoffeeScript. This is the code: function convert(num1, num2, num3) { return …

javascript coffeescript
Is there any way to not return something using CoffeeScript?

It seems like CoffeeScript automatically returns the last item in a scope. Can I avoid this functionality?

coffeescript