These are chat archives for canjs/canjs

2nd
Apr 2016
Christopher Oliphant
@RALifeCoach
Apr 02 2016 19:21
Hello all. I am working on a new feature for CanJS. It is the feature described here: canjs/canjs#2354. I have a version working.
First question: While it is a feature I and my company would use, would it get voted down by the rest of the CanJS devs?
Second Question: If it is worth persuing further, I am having trouble getting the unit tests to run and would appreciate some help.
Julian
@pYr0x
Apr 02 2016 20:22
is this a plugin?
this should not be in canjs core
Christopher Oliphant
@RALifeCoach
Apr 02 2016 20:24
The plugin extends can.map.define
Julian
@pYr0x
Apr 02 2016 20:29
ok
if you can give us some example
we can discuss this on friday
on the donejs/canjs hangout
Christopher Oliphant
@RALifeCoach
Apr 02 2016 20:32
I could commit my branch and folks can have a look
Curtis Cummings
@ccummings
Apr 02 2016 21:06
I’m pretty sure this can already by done using define’s wildcard * to make everything type: ‘*’ and then define the Objects and Arrays as Observable by making them Type: can.Map or Type: can.List