These are chat archives for canjs/canjs

26th
Nov 2018
Viktor Busko
@Lighttree
Nov 26 2018 14:22

Guys starting from CanJS@4 is it prohibited to have such code in stache ?

{{ myCustomProperty.split(' ')[0] }}

It was valid code before that did required operations on prop

Kevin Phillips
@phillipskevin
Nov 26 2018 15:44
@Lighttree that should still work
it's possible you're running into this bug: canjs/can-stache#615
although it's not totally the same thing
Viktor Busko
@Lighttree
Nov 26 2018 17:48

Hmm... looks different to me

https://codepen.io/Lighttree/pen/eQjzwy?editors=1010

maybe you can check this codepen

Kevin Phillips
@phillipskevin
Nov 26 2018 17:55
yeah, seems like a different issue
Chasen Le Hara
@chasenlehara
Nov 26 2018 22:37
@Lighttree Would you mind filing an issue for that with the CodePen you made? https://github.com/canjs/can-stache/issues/new
Also, to answer your question about the stache animation proposal being removed from the survey: we regularly remove proposals that haven’t gained a large amount of support over a few surveys. We will probably bring it back in a future survey, but keep mentioning it in the survey comments to remind us. :)