Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 15:14
    greenkeeper[bot] commented #5375
  • 15:14

    greenkeeper[bot] on core-js-3.3.1

    chore(package): update core-js … (compare)

  • 14:49
    greenkeeper[bot] labeled #5375
  • 14:49
    greenkeeper[bot] opened #5375
  • 14:49

    greenkeeper[bot] on core-js-3.3.0

    chore(package): update core-js … (compare)

  • Oct 12 18:35
    matthewp commented #5358
  • Oct 12 18:15
    chasenlehara commented #5358
  • Oct 12 06:41

    greenkeeper[bot] on @octokit

    (compare)

  • Oct 12 06:39

    greenkeeper[bot] on @octokit

    chore(package): update @octokit… (compare)

  • Oct 11 19:01
    m-mujica edited #5374
  • Oct 11 19:01
    m-mujica opened #5374
  • Oct 11 19:00

    m-mujica on update-deep-observable

    Update can-deep-observable to l… (compare)

  • Oct 11 18:55
    m-mujica edited #5365
  • Oct 11 18:54
    greenkeeper[bot] labeled #5373
  • Oct 11 18:54
    greenkeeper[bot] opened #5373
  • Oct 11 18:54

    greenkeeper[bot] on can-deep-observable-1.0.1

    fix(package): update can-deep-o… (compare)

  • Oct 11 16:42
    LakshanKarunathilake starred canjs/canjs
  • Oct 11 14:58
    greenkeeper[bot] labeled #5372
  • Oct 11 14:58
    greenkeeper[bot] opened #5372
  • Oct 11 14:58

    greenkeeper[bot] on can-observable-mixin-1.0.1

    fix(package): update can-observ… (compare)

Kevin Phillips
@phillipskevin
that's what we use most of the time
and just test in a browser
Eben
@eben-roux
ah... was wondering what that is
I had a look at the canjs tests and did notice that
Kevin Phillips
@phillipskevin
Eben
@eben-roux
something you guys rolled yourself also?
Kevin Phillips
@phillipskevin
yeah
Eben
@eben-roux
does it handle async/promise testing also?
Kevin Phillips
@phillipskevin
yeah
Eben
@eben-roux
ok, excellent
Kevin Phillips
@phillipskevin
if you don't want to test in a browser, you can use https://mochajs.org/#about-babel
Eben
@eben-roux
I'm going to have a serious look, thanks
Kevin Phillips
@phillipskevin
but testing in a browser when you're writing components usually makes sense
Eben
@eben-roux
I'd prefer testing from node but not sure how feasible that is nowadays
Kevin Phillips
@phillipskevin
you can use headless chrome
Eben
@eben-roux
agreed, but I'm actually writing some infrastructure components that don't have any UI elements
I'm going to give it a shot... will ask when I get stuck, thanks :) --- should get cracking on this tomorrow
cheers
Kevin Phillips
@phillipskevin
it's using qunit, but there's not much of a difference
and you can use https://github.com/donejs/donejs-mocha if you're using donejs
Eben
@eben-roux
great stuff, thanks again --- haven't looked at the donejs site for ages
Kevin Phillips
@phillipskevin
no problem
last plug, give canjs/canjs#3862 a :thumbsup: if you're interested in a testing-specific guide
Viktor Busko
@Lighttree

https://gitter.im/canjs/canjs?at=5a96b77f0202dc012e96818d

Maybe there is way to expose params to connect configuration ?
https://github.com/canjs/can-connect/blob/master/data/url/url.js#L373

In this case we can configure what ajax params URLBehavior will use. So the idea that we will be able to do something like...

Entity.connection = connect(
    [url, constructor, constructorStore, canMap, realTime, callbacksOnce], {
        url: '/secured/entity',
        ajaxConf: {
                // configuration params  like beforeSend etc..
                // that will allow us do some additional logic if required
        },
        Map: Entity,
        List: Entity.List,
        algebra
    }
);
AntonProkofyev
@AntonProkofyev
Hi folks, i'm using url behavior and find interesting code there
https://github.com/canjs/can-connect/blob/master/data/url/url.js#L363
why the decision to modify object which we try to send to the server was made
why not just copy without removing
AntonProkofyev
@AntonProkofyev
why it's not configurable at least
Justin Meyer
@justinbmeyer
@Lighttree you could probably build some hooks like that yourself, but they aren't built in now
@AntonProkofyev it's modifying the object where?
@/all I'm going to walk through building a rich text editor on a live stream today: https://www.youtube.com/watch?v=EpG1Wzn5by8
Mohamed Cherif Bouchelaghem
@cherifGsoul
@justinbmeyer I was not in front of my computer :/
Julian
@pYr0x
today is donejs contributor meeting?
can i join?
Yeswanth Raghav T
@tyraghav
Hi AllTwo way binding of
Hi All, can anyone help me please
Mohamed Cherif Bouchelaghem
@cherifGsoul
@tyraghav what is your question?
@tyraghav for two-way binding <input value:bind="vmProp" >
Yeswanth Raghav T
@tyraghav
I have two way binded a model in a can.control.extend to a child-prop in a can.component.extend . Value change in attr of model from can.component to can.control is working fine, but control to component is not working
Can you please help me
Note : i am using can 2.3
canjs 2.3
Mohamed Cherif Bouchelaghem
@cherifGsoul
what is the binding syntax you are using?
Yeswanth Raghav T
@tyraghav
<comp {(cmodel)}="pmodel"/>
Where pmodel is inside can.control and pmodel is in viewModel of can.component
Mohamed Cherif Bouchelaghem
@cherifGsoul
this is the child to parent binding
Yeswanth Raghav T
@tyraghav
How can I make a two way binding
Mohamed Cherif Bouchelaghem
@cherifGsoul
try to add another binding for parent to child <comp {(cmodel)}="pmodel" {($pmodel)}="cmodel"/>