Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 08 21:21
    greenkeeper[bot] commented #5392
  • Dec 08 21:21

    greenkeeper[bot] on core-js-3.4.8

    chore(package): update core-js … (compare)

  • Dec 06 18:40
    cherifGsoul review_requested #5441
  • Dec 06 18:39
    cherifGsoul opened #5441
  • Dec 06 18:22

    cherifGsoul on update-infrastructure-page

    Update infrastructure page with… (compare)

  • Dec 06 18:14
    greenkeeper[bot] commented #5422
  • Dec 06 18:14

    greenkeeper[bot] on @feathersjs

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

  • Dec 06 18:11
    greenkeeper[bot] commented #5401
  • Dec 06 18:11

    greenkeeper[bot] on @feathersjs

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

  • Dec 04 22:03
    chasenlehara opened #5440
  • Dec 04 22:03
    chasenlehara labeled #5440
  • Dec 04 19:18
    cherifGsoul review_requested #5432
  • Dec 04 14:09
    m-ahmadi starred canjs/canjs
  • Dec 04 10:52
    ansyeow starred canjs/canjs
  • Dec 03 14:53
    matthewp commented #5439
  • Dec 03 14:30
    frank-dspeed opened #5439
  • Dec 02 18:13
    greenkeeper[bot] commented #5392
  • Dec 02 18:13

    greenkeeper[bot] on core-js-3.4.7

    chore(package): update core-js … (compare)

  • Dec 02 17:48
    greenkeeper[bot] commented #5392
  • Dec 02 17:48

    greenkeeper[bot] on core-js-3.4.6

    chore(package): update core-js … (compare)

Chasen Le Hara
@chasenlehara
@Macrofig, just FYI, there’s https://gitter.im/bitovi/documentjs
I don’t know the answer to your question though (if \@ didn’t work)… maybe @justinbmeyer @phillipskevin or @matthewp know?
Juan Orozco
@Macrofig
Ah, for some reason, I thought we consolidated to this and donejs channel.
So, \@ works but there's an issue. I'll take the conversation to docjs channel.
lmagarian
@lmagarian
I'm trying to make a group of checkboxes bound to a DefineList of strings. Using this code:
<input type="checkbox" id="{{item}}" {($checked)}="boolean-to-inList(item, selectedKeys)" />
It is correctly setting the checked state when the page loads
I'd expected selectedKeys to be updated as the checkbox is checked or unchecked but it isn't. What do I need to do differently?
Kevin Phillips
@phillipskevin
can you create a JSBin example?
can’t see anything wrong with just that line
Kevin Phillips
@phillipskevin
lmagarian
@lmagarian
ok, I modified that to use DefineList for the owns array and it still works
Kevin Phillips
@phillipskevin
maybe you don’t have can-stache-converters imported in your app?
Justin Meyer
@justinbmeyer
A walk through of how to build a file navigator ... you can probably skip the first 20 min or so if you are familiar with CanJS
@MarcGodard I wouldn't suggest using can.Control + routes like that
oh, looks like kevin talked to you about it
deepasrikanth
@deepasrikanth
Hi there I need help with something
deepasrikanth
@deepasrikanth
how can i disable cacheConnection? In other words I would like to force not to cache the data and fetch by hitting the API
I am using canJs 3
Kevin Phillips
@phillipskevin
@deepasrikanth if you’re using superMap, you’ll have to change it so you can configure the behaviors yourself
and you can look at the superMap code for the behaviors it is using: https://github.com/canjs/can-connect/blob/master/can/super-map/super-map.js#L22-L48
deepasrikanth
@deepasrikanth
ok thanks. I will check that out. If I have questions I will come back. Thanks again!
Kevin Phillips
@phillipskevin
sure, no problem!
Morgan Heimbeck
@Xitstrategies
in can v2 with a view.attr how do I properly get the attrData.scope._context? I can't do attrData.scope.attr(), etc.
deepasrikanth
@deepasrikanth
Hi Kevin another question.. the problem I am facing that my view is not hitting the API to show the latest data. But if I visit the page again or refresh it works. So I was trying to find a way to disable caching. Hence my previous question. Is there any other way to refresh the view to show the latest instead of clearing cache?
Kevin Phillips
@phillipskevin
maybe that’s not a caching issue
even with the fall-through cache, it will still make the request to the API
it will just give the cached data, then make the request to the API and update the response
what change is happening that should trigger the new request?
deepasrikanth
@deepasrikanth
so I have a form in a view where I am creating a row of data.. another view should list all the rows of data
now on one tab I save new data and another tab I try to visit the list page and I don't see the new data. The API request does not show the new data as well. but If I go back by browser back or another way and come back to the list page... the api request shows new data. So I doubted the caching.
Kevin Phillips
@phillipskevin
hmm, ok
it’s hard to say what’s happening
any way you can try to reproduce it in a jsbin?
deepasrikanth
@deepasrikanth
I can try. I have not used it so far.
Kevin Phillips
@phillipskevin
there is a link at the top of gitter that you can use to get started
deepasrikanth
@deepasrikanth
So this code works if I use fixtures.. but this problem happens when I really hit the APIs that talk to my local mongo
If I copy the code in jsBin you won't be able to see the problem by running it but you can see the code I guess
Morgan Heimbeck
@Xitstrategies
try doing this in your ViewModel instead of in the init
"eventGroups": {
    get: function() {
      return EventGroup.getList({});
    }
  },
deepasrikanth
@deepasrikanth
will try that. I just tried this in my model definition "cacheConnection": "real-time",
seems to be working. is that a valid configuration?
deepasrikanth
@deepasrikanth
never mind my last question
deepasrikanth
@deepasrikanth
Thank you guys. changing super map to base map worked.
Gira Minus
@gKreator
@phillipskevin Thanks I figured it out that night I forgot to mention it.
Is there any good way to prompt somebody to save a form as they are trying to navigate away? Let's say they filled out a form and forgot to save. Is there a decent way to prevent route change or force them back or something?
I know if they close the web browser you can do the js onbeforeunload event
Frank Lemanschik
@frank-dspeed
@gKreator you can let the on route change event block if form is filled partial