Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 20 19:48

    phillipskevin on master

    Update dist for release (compare)

  • Nov 20 19:48

    phillipskevin on v6.2.7

    Update dist for release 6.2.7 (compare)

  • Nov 20 19:30

    phillipskevin on six-two-seven

    (compare)

  • Nov 20 19:30
    phillipskevin closed #5431
  • Nov 20 19:19
    phillipskevin synchronize #5431
  • Nov 20 19:19

    phillipskevin on six-two-seven

    updating dependencies (compare)

  • Nov 20 18:53
    cherifGsoul review_requested #5432
  • Nov 20 18:52
    cherifGsoul opened #5432
  • Nov 20 18:49

    cherifGsoul on update-api-page

    Update API page (compare)

  • Nov 20 17:17
    phillipskevin opened #5431
  • Nov 20 17:17

    phillipskevin on six-two-seven

    updating dependencies (compare)

  • Nov 20 17:11
    cherifGsoul synchronize #5430
  • Nov 20 17:11

    cherifGsoul on update-infrastructure-page

    Update can-queues part (compare)

  • Nov 20 17:08
    cherifGsoul opened #5430
  • Nov 20 17:06

    phillipskevin on can-attribute-observable-2.0.2

    (compare)

  • Nov 20 17:06

    phillipskevin on master

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

  • Nov 20 17:06
    phillipskevin closed #5426
  • Nov 20 17:05

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

    (compare)

  • Nov 20 17:04

    phillipskevin on can-observable-array-1.0.6

    (compare)

  • Nov 20 17:04

    phillipskevin on master

    fix(package): update can-observ… updating bundlesize limits Merge pull request #5429 from c… (compare)

Justin Meyer
@justinbmeyer
it's not dispatch
(though a dispatch happens)
I'd look it up but in the middle of something
Frank Lemanschik
@frank-dspeed
i saw in some examples that there was custom dispatch on stuff like
can-define backup
thats why i got that idea
Justin Meyer
@justinbmeyer
essentially you would need to re-create what the normal .save() does on every item in the list
Frank Lemanschik
@frank-dspeed
thats correct
it will call some defineMap methods
maybe set ? update somestuff like that
i use that methods when i don't use can connect
to directly update instances
or save maybe as i remember uses the methods
added by can connect
!
this are the right api's i think to tigger updates
the crud methods
Mike 'mitch' Mitchel
@mikemitchel
added the .sort method back to can-list 4.2.0
https://github.com/canjs/can-list/releases/tag/v4.2.0
kostya.aderiho
@kaderiho
according to your comments @frank-dspeed @justinbmeyer I need to write custom implementation updateListData in order to send one PUT request with list inside of body?
Frank Lemanschik
@frank-dspeed
right
@kaderiho
kostya.aderiho
@kaderiho
okey, thanks everyone
Gregg Roemhildt
@roemhildtg
Hi guys, did logging change in a recnet version of can-stache?
I'm seeing lots of new logs (in a production webpack build).
image.png
Sorry, that wasn't in a production build. Nevermind that message :0
Kevin Phillips
@phillipskevin
@Lighttree, about :point_up: October 31, 2018 5:34 AM
There is no difference between those get syntaxes
I always use get someProp() { ... } unless I need to pass arguments (for async getters)
then it has to be
someProp: {
  get(lastSet, resolve) {
    // ...
  }
}
the standard getter syntax (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/get) doesn't allow arguments
Jeroen Cornelissen
@jeroencornelissen
@matthewp @justinbmeyer @frank-dspeed yes, looks like that was my code with some additions from Justin.
We kind of stopped using can-connect, because our backend now is more event-driven. So we have an endpoint for almost every property on a model, eg /item/change-color or /item/change-title, … So we just can’t call save or destroy, we now use a custom “http-handler” and update the props on our model or do a splice/push on a Model.List.
Frank Lemanschik
@frank-dspeed
@jeroencornelissen its a bit like me
i also stream my changes into the Maps and Lists my self
else i could not add behavior as needed
@jeroencornelissen i need to play more with the symbol interface the others added i think justin was that
this should enable to do custom stuff more easy via some key symbols like onValue but i still don't full get what kind of API design this should be
:D
so i started refactoring canjs to canes to be more readable and understand able
Jeroen Cornelissen
@jeroencornelissen
What do you mean, stream changes into Maps?
Frank Lemanschik
@frank-dspeed
@jeroencornelissen i use for every application always streams so i have a stream that sets and reads values into a can.DefineMap Instance
for example
so i have a stream interface into and out of my DefineMaps and Lists
i am preparing that production ready at present under the Code Name canes
it merges my effort to drop all the old stuff and layers that are needed by CanJS/DoneJS
i want to have a version that uses Streams where possible and runs in every new nodejs version and every new browser
out of the box when coding EMCA Style + WASM workers
so canes is the first framework supporting and using wasm