Closed amk221 closed 10 years ago
@amk221 take a look at my hacky workaround in #183 -- not great, but at least you get some output.
It seems that codo has issues with the someVariable = Library.creationFunction
pattern.
This is not an idiomatic Coffee class. Codo is meant to support Coffee-Script not all the "classish" extensions every new framework adds to javascript. And it will not no matter how popular the framework is.
The main reason for that is that "class" in Coffee-Script is a term. And what you are trying to name "class" is an expression. The term is static. The expression is dynamic. Dynamic expression can not and should not be documented this way. Please take a look at Literate Coffee Script instead.
Every few weeks I come back and look at this comment and get really sad for a while.
@luketheobscure the new Codo has pretty extensible structure that you can inherit and override. Fork it, change the way it seeks for classes and you are done.
I'm working on an Ember-cli project
However the above is never noticed by codo.