These are chat archives for canjs/canjs

5th
Feb 2016
Alex
@whitecolor
Feb 05 2016 00:38
because it just addon it uses version you have, it probably should be placed to peerDeps to get warnings if incompatible version is installed
Justin Meyer
@justinbmeyer
Feb 05 2016 01:20
something to sneak in the next release: https://www.youtube.com/watch?v=svBu-eSezSA ?
Alex
@whitecolor
Feb 05 2016 12:57

Is those always interchangeable? (obj is plain object)

map.attr(obj)
for (let prop in obj){
  map.attr(prop, obj[prop])
}

?

Matthew Phillips
@matthewp
Feb 05 2016 13:09
the latter isn't batched
Alex
@whitecolor
Feb 05 2016 13:30
right, thanks
Alex
@whitecolor
Feb 05 2016 14:20
What is the correct to determin if an instance is can.Map or can.List?
David Luecke
@daffl
Feb 05 2016 15:21
obj instanceof can.Map
obj instanceof can.List
Alex
@whitecolor
Feb 05 2016 16:33
what if I don't have reference can available?
Matthew Phillips
@matthewp
Feb 05 2016 16:35
import it
Alex
@whitecolor
Feb 05 2016 16:54
ok)
Alex
@whitecolor
Feb 05 2016 19:11
This message was deleted
Mohamed Cherif Bouchelaghem
@cherifGsoul
Feb 05 2016 21:42
@justinbmeyer for can-define last time you talked about adding ___metaobject
do you mean add it this way:
object.defineProperty(objPrototype,"_meta",{
        get: function() {

        }
    });
Alex
@whitecolor
Feb 05 2016 22:00
does {($value)}="KEY" fire any DOM events vhen KEY value changes? If not how to achieve it?