by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 10 17:52
    lukewhyte removed as member
  • Jul 10 17:52
    kross-hub removed as member
  • Jul 10 17:51
    ilyavf removed as member
  • Jul 10 17:41
    lukewhyte added as member
  • Jul 10 17:41
    kross-hub added as member
  • Jul 10 17:41
    ilyavf added as member
  • Jul 08 20:02
    cherifGsoul review_requested #5497
  • Jul 08 18:32
    cherifGsoul synchronize #5497
  • Jul 08 18:32

    cherifGsoul on remove-old-ecosystem-packages

    Remove packages from ecosystem (compare)

  • Jul 08 18:26
    cherifGsoul synchronize #5497
  • Jul 08 18:26

    cherifGsoul on remove-old-ecosystem-packages

    Remove test files and es files (compare)

  • Jul 08 18:20
    cherifGsoul opened #5497
  • Jul 08 18:19

    cherifGsoul on remove-old-ecosystem-packages

    Remove can-connect-feathers and… (compare)

  • Jul 07 20:29
  • Jul 06 18:14
    cherifGsoul commented #5495
  • Jul 06 17:15
    cherifGsoul commented #5495
  • Jul 02 19:09

    cherifGsoul on master

    Update Canjs5 minor version in … (compare)

  • Jul 02 18:01

    cherifGsoul on master

    Update dist for release (compare)

  • Jul 02 18:01

    cherifGsoul on v6.5.0

    Update dist for release 6.5.0 (compare)

  • Jul 02 17:46

    cherifGsoul on master

    Bump can-ajax to 2.4.6 (#5496) (compare)

Leath Cooper
@IcculusC
no idea why
and when I wa susing map I had to create an instance of the view model manually
like
Christopher Oliphant
@RALifeCoach
I am using DefineMap and I am passing it to ViewModel. And experiencing a whole new exception being thrown
Leath Cooper
@IcculusC
viewModel: new ViewModelMap()
because you're using attr
attr doesn't exist with DefineMa
p
Christopher Oliphant
@RALifeCoach
Most of the references to attr are not being used. The key line is this.viewModel.playerList = playerList
Leath Cooper
@IcculusC
does the view model exist when you use ViewModel rather than viewModel
if you log it out
Christopher Oliphant
@RALifeCoach
It crashes loading the component - so I can’t tell
Leath Cooper
@IcculusC
:(
Christopher Oliphant
@RALifeCoach
I will instantiate it outside the component and see what I get
Leath Cooper
@IcculusC
wish I could help more but I'm not knee deep in the code like you haha
Christopher Oliphant
@RALifeCoach
okay - you have helped some
thanks for your time
Leath Cooper
@IcculusC
any time
I'm here trying to learn 3.0 too
Christopher Oliphant
@RALifeCoach
It’s working!!
Leath Cooper
@IcculusC
lol what did you do
Christopher Oliphant
@RALifeCoach
I found an error in one of my sub-maps
Leath Cooper
@IcculusC
ah
Christopher Oliphant
@RALifeCoach
that and changing viewModel to ViewModel seems to have done the trick
Leath Cooper
@IcculusC
yeah that viewModel and ViewModel thing is confusing, there's an issue open to add a warning if you use the wrong one so hopefully that will get implemented
Leath Cooper
@IcculusC
can you try something for me
seeing the same error in two environments
Christopher Oliphant
@RALifeCoach
sure, how can I help?
Leath Cooper
@IcculusC
hmm
one sec
nevermind not sure how to do this efficiently lol
Christopher Oliphant
@RALifeCoach
okay
Leath Cooper
@IcculusC
I'm like 100% sure that this binding syntax is completely broken but nobody else seems to notice lol
so I just built a test project in a completely fresh environment and got the same issue
Christopher Oliphant
@RALifeCoach
I have found that sometimes they are too busy to listen and at other times I get an amazing amount of help
Leath Cooper
@IcculusC
not their fault
but usingthe syntax you're using for events nothing ever gets called, and using the syntax from can-stache-bindings docs it just breaks
Christopher Oliphant
@RALifeCoach
my events get called
Leath Cooper
@IcculusC
oh I'm dumb
so the events part probably works, but the stache binding to viewmodel functions definiteyl doesn't
Christopher Oliphant
@RALifeCoach
I haven’t tried binding stache to helpers in 3.0
Leath Cooper
@IcculusC
not helpers, helpers are a different thing
just defining a function on the viewmodel and then binding it with ($click)="functionCall()"
Christopher Oliphant
@RALifeCoach
viewModel functions?
right
switch your code over to my style and maybe all will work….
Leath Cooper
@IcculusC
it works your way
but it should work both ways
Christopher Oliphant
@RALifeCoach
Have you used DefineList?
Leath Cooper
@IcculusC
nah not yet