Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 21:43

    phillipskevin on master

    Update dist for release (compare)

  • 21:43

    phillipskevin on v6.1.1

    Update dist for release 6.1.1 (compare)

  • 21:34

    phillipskevin on can-observable-mixin-1.0.2

    (compare)

  • 21:34

    phillipskevin on master

    fix(package): update can-observ… Merge branch 'master' into gree… Merge pull request #5382 from c… (compare)

  • 21:34
    phillipskevin closed #5382
  • 21:34

    phillipskevin on can-make-map-1.2.2

    (compare)

  • 21:34

    phillipskevin on master

    fix(package): update can-make-m… Merge pull request #5380 from c… (compare)

  • 21:34
    phillipskevin closed #5380
  • 20:30
    phillipskevin synchronize #5382
  • 20:30

    phillipskevin on can-observable-mixin-1.0.2

    fix(package): update can-observ… fix(package): update can-simple… Merge pull request #5372 from c… and 2 more (compare)

  • 20:30
    phillipskevin opened #5382
  • 20:28

    phillipskevin on can-simple-map-4.3.3

    (compare)

  • 20:28

    phillipskevin on master

    fix(package): update can-simple… Merge pull request #5378 from c… (compare)

  • 20:28
    phillipskevin closed #5378
  • 20:26

    phillipskevin on can-observable-mixin-1.0.1

    (compare)

  • 20:26

    phillipskevin on master

    fix(package): update can-observ… Merge pull request #5372 from c… (compare)

  • 20:26
    phillipskevin closed #5372
  • 20:25

    phillipskevin on update-make-map

    (compare)

  • 20:25
    phillipskevin closed #5381
  • 20:21
    phillipskevin opened #5381
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}}
but yeah, it doesn't have the toString() because it lead to that XSS attack vector
do you have an example of it not working as it used to?