These are chat archives for canjs/canjs

13th
Mar 2017
Rob Lao
@viewplatgh
Mar 13 2017 04:09
Hi, what's the replacement of map.attr in can 3? i.e. how to set attribute of can map when attribute name is stored in a variable in can3?
Gira Minus
@gKreator
Mar 13 2017 04:25
Map.set
Kevin Phillips
@phillipskevin
Mar 13 2017 13:11
can-map still has attr in can 3: http://canjs.com/doc/can-map.prototype.attr.html
if you’re using DefineMap, then you want `set: http://canjs.com/doc/can-define/map/map.prototype.set.html