These are chat archives for canjs/canjs

Oct 2018
Oct 03 2018 14:34
@justinbmeyer here is a example about our discussion
Viktor Busko
Oct 03 2018 15:35

@phillipskevin Hi, if you are interested I found workaround for the issue that I had here:

I store all translations in DefineMap instance and use it in helper.
Key point here is to to call get/set on defineMap and return same from helper. It started to work.
This forced me to go away from text nodes but I think they brought more issues as result.
I hope that having text props in observable won't hit performance.

Justin Meyer
Oct 03 2018 18:54
@pYr0x just an FYI ... <content> is ignored within a mounted component
Is that what you wanted?
Justin Meyer
Oct 03 2018 19:00
Here's an example with everything working I think:
Gregg Roemhildt
Oct 03 2018 21:59
+1 @justinbmeyer
Gregg Roemhildt
Oct 03 2018 22:15
Very useful!
Are these possible now too?
on:click="this.prop ++"?
Justin Meyer
Oct 03 2018 22:30
I was just asked that. The ++ expression is not supported. We’d need to update the parser. (Not hard if one knows parsing)