issa-tseng / janus

the two-faced application library-framework.
http://janusjs.org
37 stars 7 forks source link

Move away from (coffeescript) classes for Model #90

Closed issa-tseng closed 6 years ago

issa-tseng commented 6 years ago

Right now the @bind and @attribute declarations on Model are highly dependent on the Coffee/Livescript methodology for declaring classes, which are incompatible/awkward to accomplish with plain ES6.

In all likelihood, Models will still be classes after this change. But we should take measures to ensure ES6 usage is smooth.