Closed carlmathisen closed 8 years ago
thanks @carlmathisen that's actually an error thrown by ace editor. I'm guessing it doesn't do es7 class properties. @tsuchikazu could you maybe have a quick look?
decaf compiled correctly.
Ace editor evaluate compiled JavaScript code directly. Class Instance Fields syntax is not implemented in all browser yet. Try it page can only compile coffeescript to JavaScript code. Could you compile JavaScript code yourself by babel to evaluate?
Makes sense. Thanks!
Check it out:
compiles to:
with the error
Unexpected token =
http://www.goodafternoon.co/decaf/#?evaluate=true&code=class%20Test%0A%20%20myProperty%3A%20'value' #