Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 26 12:41
    horikeso starred canjs/canjs
  • Feb 22 17:42
    dnalbach starred canjs/canjs
  • Feb 17 13:45
    BirolAYDIN starred canjs/canjs
  • Feb 15 17:22
    prawee starred canjs/canjs
  • Feb 15 12:08
    philipstubbs13 starred canjs/canjs
  • Feb 13 20:42
    justinbmeyer commented #5456
  • Feb 13 06:49
    frank-dspeed commented #5456
  • Feb 12 21:42
    justinbmeyer closed #4872
  • Feb 12 21:42
    justinbmeyer closed #4870
  • Feb 12 21:42
    justinbmeyer closed #4868
  • Feb 12 21:42
    justinbmeyer closed #4867
  • Feb 12 21:42
    justinbmeyer closed #4853
  • Feb 12 21:42
    justinbmeyer closed #4852
  • Feb 12 21:42
    justinbmeyer commented #5456
  • Feb 12 21:41
    justinbmeyer closed #5456
  • Feb 11 14:10
    sickle12138 starred canjs/canjs
  • Feb 09 17:24
    Yitzchok starred canjs/canjs
  • Feb 08 03:27
    spzzc8081 starred canjs/canjs
  • Feb 05 01:39
    sreeramofficial starred canjs/canjs
  • Feb 01 15:34
    atimidguy starred canjs/canjs
Frank Lemanschik
@frank-dspeed
ok ok
looks pritty cool
Kevin Phillips
@phillipskevin
@AntonProkofyev can you check what is propand value ?
and walk up the stack to the first place that is in your code
to see what is being called
AntonProkofyev
@AntonProkofyev
can you —Ālarify plz what you mean by checking what is prop and value
i can see that this defineMap appears somwhere near reflection/get-set
setKeyValue
Kevin Phillips
@phillipskevin
the parameters that function is being called with
AntonProkofyev
@AntonProkofyev
i can see that this defineMap is definening in can-stache-bindings.js in
var viewModel = bindingData.getViewModel()
prop is name
Frank Lemanschik
@frank-dspeed
as i sayed you need to define name in your model first
AntonProkofyev
@AntonProkofyev
value is definemap
{name:Name}
@frank-dspeed what do you mean? can you clarify plz
Frank Lemanschik
@frank-dspeed
your applying can-connect to a Model right?
a defineMap
AntonProkofyev
@AntonProkofyev
i would like to add the response obj to the viewmodel of a component
viewmodel is defineMap
AntonProkofyev
@AntonProkofyev
may be there is any different sollution?
Gregg Roemhildt
@roemhildtg
@phillipskevin I think canjs/canjs#3427 is actually related to my can-connect behavior. I got into ios debugging and it looks like my parseInstanceData is not being called at all which is generating the issues with the data retrieved.
Kevin Phillips
@phillipskevin
a custom behavior you mean?
Gregg Roemhildt
@roemhildtg
Yes
I think it might have to do with the order of the custom/builtin behaviors
Justin Meyer
@justinbmeyer
Contributor meeting: https://www.youtube.com/watch?v=dmwV1U3ExSQ Shows ReactViewModels, steams, and the incremental SSR stuff we have been working on
Gregg Roemhildt
@roemhildtg
What's the best order to put can-connect behaviors in? currently I have this, but its still not working on ios...
    var behaviors = [
        canConstructor,
        canMap,
        canRef,
        RestlessData, //custom getlist, createdata, getdata, etc
        constructorStore,
        dataCallbacks,
        dataParse,
        RestlessParse, //custom parseListProp, parseInstanceData 
        realTime,
        callbacksOnce
    ];
Gregg Roemhildt
@roemhildtg
parseInstanceData still is never called, on ios, unless I move it up the list. Is there a good way to know where to place it?
Justin Meyer
@justinbmeyer
@roemhildtg only ios?
Frank Lemanschik
@frank-dspeed
is some one familar with the part what exactly is incompatible with can-component ? https://canjs.com/doc/can-ejs.html#BasicExample
i can't imagin a situation
Gregg Roemhildt
@roemhildtg
Yeah it was working on windows Firefox Chrome just not ios. Took forever to get a debugger working but it showed those methods were ignored. Switched the order and it started working.
Frank Lemanschik
@frank-dspeed
do we got something like this?
SproutCore does one thing which very few frameworks do propertly: being a native like API framework, including built in application state chart
Frank Lemanschik
@frank-dspeed
i think thats already inside right with the viewModel backup rollback stuff?
Frank Lemanschik
@frank-dspeed
CDNUSSR joke is Content Delivery Network Unit Server Side Rendering
Eben
@eben-roux
hello
Mohamed Cherif Bouchelaghem
@cherifGsoul
Hello @eben-roux
Frank Lemanschik
@frank-dspeed
hello again
what do we wanna do today :D
Eben
@eben-roux
it seems as though when I set an attribute on my model then it results in some infinite loop
does that sound familiar?
Frank Lemanschik
@frank-dspeed
ehm nope
but i know a way to produce a infinity loop
Eben
@eben-roux
almost as if the method observes the change and then the change occurs in the method and then back to observing the change
lol
I'm sure you do
Frank Lemanschik
@frank-dspeed
if your defining a setter with a start value that returns a value
Eben
@eben-roux
if you have a fast enough machine then an infinite loop only takes 6 seconds to complete