I have a really simple coffescript class:
class Bar foo: -> console.log('bar')
What when compiling with coffee -c bar.coffee compiles to
(function() { class(Bar({ foo: function() { return console.log('bar'); } })); }).call(this);
If that matters, I'm on Windows, and the exact same coffeescript compiles correctly using SassAndCoffee . I tried several different compilers (Node.exe + the latest source of coffescript, Coffee.exe , etc.), but everyone shows the same behavior. Anyone have any thoughts?
source share