Skip to main content
2 votes
Accepted

Displaying job status in a jQuery Datatable

First of all, you may benefit from the fact that in Coffee (and in JS, too), the following code if condition variable = value can be expressed simpler as <...
fracz's user avatar
  • 196
1 vote

CoffeeScript 2 + 2 program

This is a a very, um, thorough way of doing things. Not necessarily a bad thing, and it does help learn some CoffeeScript, so yay for that, but still it's a little much. I'll roll with it though. ...
Flambino's user avatar
  • 33k
1 vote

Abstracting out two lines of code in Coffeescript

I'd say your abstracted function looks OK - it's up to the caller to supply the right height. That's the abstraction. The function doesn't have to know exactly what ...
Flambino's user avatar
  • 33k
1 vote
Accepted

Multiple string interpolation

For long strings in CoffeeScript consider using the heredocs notation: ...
Hugo G's user avatar
  • 364
1 vote

Loading an SVG into the canvas

wheel = (e) -> e = e or window.event # the code follows Here you want to set argument e to some default value if <...
sineemore's user avatar
  • 1,785

Only top scored, non community-wiki answers of a minimum length are eligible