These are chat archives for canjs/canjs

10th
Oct 2018
Ivo Pinheiro
@ivospinheiro
Oct 10 2018 10:13
Is there any alternative to can-list-sort on CanJS 4?
Kevin Phillips
@phillipskevin
Oct 10 2018 14:44
@ivospinheiro on projects I've upgraded, we've generally just replaced it with a derived property that is a sorted version of the raw data
@justinbmeyer did start rewriting can-list-sort to be compatible with 4.0, but I don't think it was fully working
Ivo Pinheiro
@ivospinheiro
Oct 10 2018 14:46
thanks @phillipskevin!
I've meanwhile used Array.prototype.sort to sort the CanList
It seems to work fine
nmingneau
@nmingneau
Oct 10 2018 14:57
Hi, does anyone know why on:dragstart="somefunc(scope.event)" doesnt seem to do anything in firefox? Even though draggable="true" is set on the element.
Justin Meyer
@justinbmeyer
Oct 10 2018 15:12
@nmingneau I can't think of a reason why it wouldn't work
can you create a codepen?
nmingneau
@nmingneau
Oct 10 2018 15:40
@justinbmeyer I'll create a codepen tomorrow if the problem persists. Thanks for the reply.
Kevin Phillips
@phillipskevin
Oct 10 2018 16:23
@/all the first version of the Logic Guide is out: https://canjs.com/doc/guides/logic.html :tada: :tada:
Give it a read. Let us know what's missing / what's confusing.
Ivo Pinheiro
@ivospinheiro
Oct 10 2018 21:59
Hi!
Is <content/> tag still working as expected on CanJS 5?
It seems that it doesn't work:
https://codepen.io/anon/pen/rqmpNW