These are chat archives for canjs/canjs

25th
Sep 2018
Ngaosathe
@ThekhoN
Sep 25 2018 07:10
Does canjs 2.3 use pushState for implementing the route changes?
Frank Lemanschik
@frank-dspeed
Sep 25 2018 07:10
i think donejs below 1 till 1 is using canjs 2.x
and has can-route-pushstate as extra module
Ngaosathe
@ThekhoN
Sep 25 2018 07:12
i wanted to do a check for route change. can i rely on this window.onpopstate?
Frank Lemanschik
@frank-dspeed
Sep 25 2018 07:12
here is the documentation of that
you should relay on can-route it self
it exposes route changes via events
it already listens to onpopstate if can-route-pushstate is used
so this should be your source of truth
Ngaosathe
@ThekhoN
Sep 25 2018 07:21
Thanks @frank-dspeed
Justin Meyer
@justinbmeyer
Sep 25 2018 15:48
Thanks @frank-dspeed for helping!
@pYr0x were you looking for leakScope?
Julian
@pYr0x
Sep 25 2018 17:12
@justinbmeyer what was the question?
;)
@pYr0x