These are chat archives for canjs/canjs

19th
May 2016
Matthew Phillips
@matthewp
May 19 2016 18:47
CanJS 2.3.24 is out
@abalmush your webpack thing is in
err, jspm i mean
well, it applies to both i think
Mason Shin
@minsooshin
May 19 2016 19:55
Does anyone know how I can hide this warnings?
Screen Shot 2016-05-19 at 12.54.20 PM.png
Matthew Phillips
@matthewp
May 19 2016 20:03
We should get rid of them, imo
Mason Shin
@minsooshin
May 19 2016 20:16
“we” means canjs library itself?
Matthew Phillips
@matthewp
May 19 2016 20:48
Yes, I think there's too many false positives in those warnings
Maybe it's possible to fix the false positives
Mason Shin
@minsooshin
May 19 2016 20:48
gotcha
Matthew Phillips
@matthewp
May 19 2016 20:48
I think the main reason it happens is that you have a key
and you are fetching some data so that key is undefined
so you get a warning
Mason Shin
@minsooshin
May 19 2016 20:48
i see
Matthew Phillips
@matthewp
May 19 2016 20:48
I think that's one that happens often
So I don't know if that's fixable actually
I personally just ignore those warnings
I'd be curious what other people do
Mason Shin
@minsooshin
May 19 2016 20:49
yes, I have been ignoring it, but I was just curios about disabling those warnings :)
Matthew Phillips
@matthewp
May 19 2016 20:50
well i think that is possible actually
there's a loglevel i believe...
try setting can.dev.logLevel = 2
Mason Shin
@minsooshin
May 19 2016 20:51
where I need to add that?
Matthew Phillips
@matthewp
May 19 2016 20:51
anywhere you want... probably in your main module
before you render
Mason Shin
@minsooshin
May 19 2016 20:52
got it
that works! thanks @matthewp
Matthew Phillips
@matthewp
May 19 2016 20:56
yay
Thomas Sieverding
@Bajix
May 19 2016 21:46
Why doesn’t CanJS self-identify as being built using the BEST Architectural Pattern (Behavior Event State Tree)?
That’s largely the direction it’s taken, but I haven’t ever heard anyone overtly talk about it
I think the framework would benefit greatly from a rebranding
Kevin Phillips
@phillipskevin
May 19 2016 21:52
might be a good topic for the forums
Thomas Sieverding
@Bajix
May 19 2016 21:53
Yea true
Matthew Phillips
@matthewp
May 19 2016 23:14
I haven't heard of this BEST, will look into it