These are chat archives for canjs/canjs

28th
Jul 2015
Matthew Phillips
@matthewp
Jul 28 2015 20:31
I'm thinking we need a switch helper in CanJS, multiple #eqs stacked becomes hard to read after a couple
opolyo01
@opolyo01
Jul 28 2015 23:08
Got another issue, why modifying ViewModel in one instance of component updates the second instance of component
<div class="start-date date"> <date-picker></date-picker> </div> <div class="end-date date"> <date-picker></date-picker> </div>
so both date-picker components have a property xyz, changing this property would update it both components
Isn't can.Component have a proper deep cloned instance of itself?