Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 18 22:20
    greenkeeper[bot] labeled #5391
  • Oct 18 22:20
    greenkeeper[bot] opened #5391
  • Oct 18 22:20

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

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

  • Oct 18 19:08
    cherifGsoul labeled #5390
  • Oct 18 19:07
    cherifGsoul opened #5390
  • Oct 18 18:45
    greenkeeper[bot] labeled #5389
  • Oct 18 18:45
    greenkeeper[bot] opened #5389
  • Oct 18 18:45

    greenkeeper[bot] on can-observable-bindings-1.3.0

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

  • Oct 18 18:29

    matthewp on master

    Update dist for release (compare)

  • Oct 18 18:29

    matthewp on v6.1.3

    Update dist for release 6.1.3 (compare)

  • Oct 18 17:59

    matthewp on can-observable-array-1.0.2

    (compare)

  • Oct 18 17:59

    matthewp on master

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

  • Oct 18 17:59
    matthewp closed #5388
  • Oct 18 16:46
    greenkeeper[bot] labeled #5388
  • Oct 18 16:46
    greenkeeper[bot] opened #5388
  • Oct 18 16:46

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

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

  • Oct 18 12:45
    greenkeeper[bot] labeled #5387
  • Oct 18 12:45
    greenkeeper[bot] opened #5387
  • Oct 18 12:45

    greenkeeper[bot] on can-stache-element-1.0.2

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

  • Oct 18 09:49
    chasenlehara edited #5384
Justin Meyer
@justinbmeyer
our place for this kinda type detection behavior is in : http://canjs.github.io/canjs/doc/can-util/js/types/types.html
Leath Cooper
@IcculusC
unless I'm misunderstanding
Justin Meyer
@justinbmeyer
well, viewModel is mostly being deprecated. That's what I'm focused on.
in an ideal world, we'd have 2 functions ...
well, 2 properties
ViewModel -> assumes you pass it a constructor function.
Leath Cooper
@IcculusC
yep
Justin Meyer
@justinbmeyer
scope -> you can do whatever the heck you want here ... function called with outer scope, element, etc, returns a new scope or anything else gets put in a new Scope.
viewModel is basically legacy
Leath Cooper
@IcculusC
well if that's the case why not just warn people if they use viewModel at all
and encourage them to use the new convention
Justin Meyer
@justinbmeyer
yeah, not a bad idea
Leath Cooper
@IcculusC
maybe one of those fancy "soon to be deprecated" warnings
Christopher Oliphant
@RALifeCoach
steal-tools - what if my main module isn’t main.js
Thomas Sieverding
@Bajix
Then define it in your package.json
Leath Cooper
@IcculusC
change it in your package.json
lol
Justin Meyer
@justinbmeyer
@halcyonandon regarding checkbox docs ... @matthewp is adding two-way converters right now
Leath Cooper
@IcculusC
"main": "index.js",
for example from mine
Justin Meyer
@justinbmeyer
Thomas Sieverding
@Bajix
@justinbmeyer Does can-connect have any synchronous lookup methods suitable for parseInstanceData?
Justin Meyer
@justinbmeyer
lookup of what?
things in the store?
Thomas Sieverding
@Bajix
Yea
Justin Meyer
@justinbmeyer
.instanceStore.get( id )
or you can use
Thomas Sieverding
@Bajix
I thought that returned a promise?
Justin Meyer
@justinbmeyer
.hydrateInstance( ... )
nope
Thomas Sieverding
@Bajix
Is there any way to do a findAll against local only? I was thinking of doing some aggregate-based side-loading
Justin Meyer
@justinbmeyer
cache-requests already does this
not sync though
but I did make some private sync methods in memory-cache
@halcyonandon we're adding some default converters like boolean-to-inList ... which should include examples w/ checkboxes
we aren't sure about what the helpers should look like ... maybe once @matthewp has this ready, please check it out and let us know what you think
Thomas Sieverding
@Bajix
Sure, but I’d like to use superMap, but in some use cases have lists that pull data from cache, so that I could side-load data using aggregates
There are other places in which I would use findAll normally
Justin Meyer
@justinbmeyer
not totally sure what you mean ...
Thomas Sieverding
@Bajix
I’ll give you a use-case
Justin Meyer
@justinbmeyer
1st ... on using superMap ... well ... yeah it's nice b/c it's small .. but it's ok to create custom connections.
it's harder, but the flexibility is there on purpose.
(this is why i want to add a can-mixin post 3.0 so it's a bit easier to assemble them on your own)
ok ... use cases that pull from cache ...
?
Thomas Sieverding
@Bajix
I want to be able to query all connections, then separately query all connections for a given user
And then have a websocket API that pushes out connection data
Justin Meyer
@justinbmeyer
ok, lets break that down a bit ... connections === a can-connect connection?
query a connection ... connection.getList?
Thomas Sieverding
@Bajix
Oh it’s a superMap