Open coladarci opened 10 years ago
EmberScript is based on coffeescript redux. Most of these issues that are related to coffeescript will hopefully eventually be fixed upstream. Here is a relevant issue: https://github.com/michaelficarra/CoffeeScriptRedux/issues/262
This is valid coffeescript..
..but throws a compilation error in ember-script:
I've tried this:
With the same results.
For those with the same issue, the only work around I've found is doing something like this (which does have it's own advantages):