hi guys. canjs 2.2.9. the thing is that in our old app we are using models with get/set per attributes a lot. I found out that there is can/map/setter. Is there any reason no 'can/map/getter' is available ?
I know about 'define', but before that, what was the way to have a getter in a model?
@mpal9000 I usually just set it to HTML or HTML + Handlebars if your editor supports it. If it can't do <viewmodel> tags then you can also fall back to <script type="viewmodel"> to get JS highlighting.
@meconcomputer The way to do getters in 2.2.9 is define. I think it should work together with the setter plugin although it would make sense to eventually migrate (it's much more powerful)