These are chat archives for canjs/canjs

1st
Jun 2016
Kevin Phillips
@phillipskevin
Jun 01 2016 01:21
can.route is a map
can.route.attr('page’) // => "home"
if you run that in the original example’s console
that’s what you get
Kevin Phillips
@phillipskevin
Jun 01 2016 01:32
sorry if I confused you earlier… the view is using can.route’s attr function, not accessing the data directly
Joel Kuzmarski
@leoj3n
Jun 01 2016 01:41
@phillipskevin Okay, that would explain why the plain JavaScript object didn't work like can.route; Thanks for clearing that up!
Kevin Phillips
@phillipskevin
Jun 01 2016 01:41
yep, no problem
Andrei Balmus
@abalmush
Jun 01 2016 12:00
Screen Shot 2016-06-01 at 3.00.21 PM.png
Guys as I undertsand can.mustache is deprecated
but can.stache is undefined in can@2.3
or I missing something
Jeroen Cornelissen
@jeroencornelissen
Jun 01 2016 13:56
@abalmush you have to import can/view/stache/
Justin Meyer
@justinbmeyer
Jun 01 2016 15:41
I'm going to have a semi impromptu discussion on design patterns in just under 2 hrs: https://plus.google.com/u/1/b/117481170193954630503/events/cf6coho65ro3hmr16thqr207kjo
Andrei Balmus
@abalmush
Jun 01 2016 17:12
@jeroencornelissen yeah, thanks, forgot to write that I’ve resolved it. thanks a lot for your responce.