These are chat archives for canjs/canjs

11th
Jun 2018
Ngaosathe
@ThekhoN
Jun 11 2018 11:10
Hi, why is this not working as intended?
https://codepen.io/TheEnd/pen/KewdOp?editors=1011
Nico R.
@nriesco
Jun 11 2018 12:43
I think count is not connected to the component’s count
You’ll probably need a binding
I tried modififying it but I’m not familiar with that syntax (I use can within donejs files instead of html)
Jeroen Cornelissen
@jeroencornelissen
Jun 11 2018 13:17
@ThekhoN this is how I would do it. Sharing one VM instance over multiple components is bad practice.
https://codepen.io/anon/pen/JZWMjr?editors=1011
Ngaosathe
@ThekhoN
Jun 11 2018 13:35
@jeroencornelissen thanks so much..
Justin Meyer
@justinbmeyer
Jun 11 2018 14:24
thanks @jeroencornelissen !