Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 23 20:45

    greenkeeper[bot] on @octokit

    (compare)

  • Oct 23 20:43

    greenkeeper[bot] on @octokit

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

  • Oct 23 19:54

    m-mujica on master

    Update dist for release (compare)

  • Oct 23 19:54

    m-mujica on v6.2.1

    Update dist for release 6.2.1 (compare)

  • Oct 23 19:43
    greenkeeper[bot] closed #5396
  • Oct 23 19:43

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

    (compare)

  • Oct 23 19:43
    greenkeeper[bot] closed #5395
  • Oct 23 19:43

    greenkeeper[bot] on can-observable-array-1.0.3

    (compare)

  • Oct 23 19:43

    m-mujica on update

    (compare)

  • Oct 23 19:43

    m-mujica on master

    Update packages to the latest v… Fix bundlesize Merge pull request #5398 from c… (compare)

  • Oct 23 19:43
    m-mujica closed #5398
  • Oct 23 18:57
    m-mujica synchronize #5398
  • Oct 23 18:57

    m-mujica on update

    Fix bundlesize (compare)

  • Oct 23 18:43
    cherifGsoul commented #5397
  • Oct 23 18:39
    matthewp commented #5397
  • Oct 23 18:26
    m-mujica opened #5398
  • Oct 23 18:25

    m-mujica on update

    Update packages to the latest v… (compare)

  • Oct 23 18:19
    cherifGsoul assigned #5397
  • Oct 23 18:19
    cherifGsoul opened #5397
  • Oct 23 18:13
    greenkeeper[bot] labeled #5396
Justin Meyer
@justinbmeyer
Is that what you wanted?
Justin Meyer
@justinbmeyer
Here's an example with everything working I think: https://codepen.io/justinbmeyer/pen/ePZmgY?editors=1010
Justin Meyer
@justinbmeyer
Gregg Roemhildt
@roemhildtg
+1 @justinbmeyer
Gregg Roemhildt
@roemhildtg
Very useful!
Are these possible now too?
on:click="this.prop ++"?
Justin Meyer
@justinbmeyer
I was just asked that. The ++ expression is not supported. We’d need to update the parser. (Not hard if one knows parsing)
Justin Meyer
@justinbmeyer
Julian
@pYr0x
@justinbmeyer but thats to point, i want to have my html boilerplate in the html page and i dont want to have only a <my-app></my-app> snippet. is there no easy code change that will enable content within a mounted component?
Ivo Pinheiro
@ivospinheiro
Hi guys,
I'm working now on upgrading my application from CanJS 3 to CanJS 4 and I'm facing some problems related with the usage of can-set and can-jquery.
Do I have to replace the can-set package by can-set-legacy and can-jquery by can-ajax for ajax requests and jquery?
Gregg Roemhildt
@roemhildtg
Anyone know why this isn't working? (can-stache@4.13)
scope.vm appears to be pointing to component 1 viewmodel
<component-1>
    <component-2>
        <component-3 val:from="scope.vm.prop" />
    </component-2>
</component-1>
Viktor Busko
@Lighttree

@roemhildtg

https://canjs.com/doc/can-stache/keys/scope.html#scope_viewModel

maybe you need scope.viewModel.prop ?

not vm
Viktor Busko
@Lighttree
Because vm documentation says: scope.vm - The first context that is a viewModel. Which is component-1

maybe you need scope.viewModel.prop ?

Or even this.prop

Gregg Roemhildt
@roemhildtg
Oh okay. Thanks @Lighttree
I'll give that a shot
So I wanted to reference the prop on the root view model. I think the only way to do this would be to walk up the scope then with ../
Viktor Busko
@Lighttree
aahh.. I was thinking that you wanted to get component-3 prop )
Gregg Roemhildt
@roemhildtg
Yeah, I can see I mislead you :) sorry I wasn't clear on that.
But your link to the docs helped figure out why I had the issue
:)
Ivo Pinheiro
@ivospinheiro
Hi again!
I'm facing a problem related with the usage of DefineMap together with can-connect constructor store.
Here is a link to a sample project that shows the problem:
https://codesandbox.io/embed/j17m0n23w?expanddevtools=1&moduleview=1
Ivo Pinheiro
@ivospinheiro
It seems that when using can-connect constructor store and adding an eventlistener on a derived property that calls serialize function, all the new instances will have the same property values
Ivo Pinheiro
@ivospinheiro
I was trying to upgrade can-define versions 2.X one by one to check when this code stops working and it seems that this issue has been introduced from version v2.5.12 to v2.6.0
Justin Meyer
@justinbmeyer
@ivospinheiro yes, you need to update those
I'll checkout what you wrote more after this meeting
@/all We are going to discuss this month's survey proposals: https://www.youtube.com/watch?v=wUhv5zIUBv0
Ivo Pinheiro
@ivospinheiro
@justinbmeyer when possible please give a look to the sample code I've posted, I don't understand why there is this new behavior
Justin Meyer
@justinbmeyer
Will try to check out as soon as I can. Keen reminding me. Thanks! @ivospinheiro
My daughter tore down a kitchen cabinet door. Headed to buy a new one ...
Ivo Pinheiro
@ivospinheiro
Hi @justinbmeyer!
Just a reminder. Have you had the opportunity to a give a look to the sample code?
Justin Meyer
@justinbmeyer
@ivospinheiro are those the 5.0 versions of can-connect?
idProp: "id", isn't supported
you use {identity} in 5.0
b
rest model works
but not realtime rest model
Justin Meyer
@justinbmeyer
if you create an issue, I should be able to get to it today
Eben
@eben-roux
did something odd happen to stache.safeString?
it used to have a toString() method and now it returns a {Symbol(can.toDOM): ƒ}
Justin Meyer
@justinbmeyer
Eben
@eben-roux
and renders as "[object Object]"
Justin Meyer
@justinbmeyer
it should still work
with {{somethingSafeStringed}}