Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 21:21
    greenkeeper[bot] commented #5392
  • 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)

Chris Gomez
@akagomez
Ah! I see. I can’t say. I’ve only worked with pushstate routing.
avg6003
@avg6003
do you know any source where I can find the reason?
Chris Gomez
@akagomez
avg6003
@avg6003
thanx
let me check
avg6003
@avg6003
I didnt found any information about my question!!
Guido Smeets
@gsmeets
@akagomez a bit later than I wanted to, but here is that fix for the component's destroy method: bitovi/canjs#1886
kiwi1342
@kiwi1342
for can.components sometimes is stated that we should use the 'scope' object
and other times 'viewModel'
viewModel is more explicit and understandable. Is it obsolete to use it?
Mohamed Cherif Bouchelaghem
@cherifGsoul
can.view.tag has not it's own scope!! is there way to make this happened without using component?
Guido Smeets
@gsmeets
@kiwi1342 scope will be deprecated in 3.0, use viewModel instead
kiwi1342
@kiwi1342
Wow. Good to know thx. One small suggestion: please work on canjs documentation. Canjs has great chances to compete with other more notorious frameworks such as backbone, knockout, react/flux. It has clear
It has clear advantages on performances and it's very easy to understand but it lacks in good tutorials.
Mohamed Cherif Bouchelaghem
@cherifGsoul
kiwi1342
@kiwi1342
This message was deleted
Mohamed Cherif Bouchelaghem
@cherifGsoul
@kiwi1342 I think Canjs is simple and easy to understand the trick is you have to see the whole application as composite from several components (Widgets) and glue those components with an application state (routing)
kiwi1342
@kiwi1342
One example is the place-my-order app which is not completed yet. In the component first page there are two videos which use the scope property. If obsolete they should be removed or filmed again with the new properties. I'm sorry if I sound too harsh but I really believe in canjs potential and have great expectations!
kiwi1342
@kiwi1342
@cherifGsoul you are absolutely right and that's what I was looking for for the past month. I've also asked for help on the JavaScriptmvc forum but no replies. https://forum.javascriptmvc.com/#Topic/32525000001855001
Mohamed Cherif Bouchelaghem
@cherifGsoul
@kiwi1342 did you see donejs?
kiwi1342
@kiwi1342
Yes. That's another thing that I find difficult to understand. First of all its in es6 and to be honest I'm not a big fan of that. And also for small projects I don't find necessary using steal for importing few js's
I remember reading this post posted by someone at bitovi. https://medium.com/@boopathi/it-s-the-future-7a4207e028c2
Mohamed Cherif Bouchelaghem
@cherifGsoul
Ok I understand, just FYI steal is not just a simple dependency management tool it can enhance the workflow
David Luecke
@daffl
I don't see a reason not to include a module loader into any project of any size. Just using npm install <package> and then using require('package') is so much less of a hassle than the mess with script tags.
neelbhat88
@neelbhat88
Hi guys - I was wondering how to intercept all AJAX responses in CanJS. I want to intercept all responses and perform a certain action based on the status (i.e. 401 would redirect me to our login page, etc). Is that possible in Can? Thanks for the help!
Kevin Phillips
@phillipskevin
I’m not sure if there is a way to do this specifically in CanJS, but if you’re using can with jQuery you can use $.ajaxTransport() or one of the other low-level jQuery functions.
neelbhat88
@neelbhat88
@phillipskevin - Ah ok yeah that makes sense. I'll give that a try. Thanks a bunch!
avg6003
@avg6003
can anyone explain How to animate mustache templates ? I am following the documentation from here https://github.com/canjs/can-animate/blob/master/doc/fade.md. But I cannot find the file can/view/animation.js in canjs downloads folder. So how can I load that file in application?
Kevin Phillips
@phillipskevin
@avg6003 can-animate is a plugin that you’ll have to install seperately.
Ilya Fadeev
@ilyavf
When I load can with npm it shows can.VERSION as "@EDGE" in browser console. Is this normal?
avg6003
@avg6003
@phillipskevin can you please give me a source from where I can download it? I could not find here: http://bitovi.bithub.com/canjs/plugin or http://canjs.com/download.html
AntonProkofyev
@AntonProkofyev
Hi guys, looks like i found memory gap or probably i'm doing something wrong ). It happens when i'm trying to pass can.List into view and use {{each}} for this list. After i'm deleting the can.Control which contain the view i see the memory gap. it's not happens if i'm using can.Map instead. Is it known issue?
Kevin Phillips
@phillipskevin
Guido Smeets
@gsmeets
@AntonProkofyev which version are you using? 2.2.7 contains a bug that stops any control inside a component from destroying correctly. Use 2.2.6 until 2.2.8 is out
David Luecke
@daffl
bitovi/canjs#1891
Justin Meyer
@justinbmeyer
I'm talking about bitovi/canjs#1699
Mark Stahl
@mjstahl

Okay, so it is better to say something along the lines of:

~key is going to provide a compute, if the property is a value, it will convert it to a compute that will update the property on a change.

Justin Meyer
@justinbmeyer
which we are thinking of changing & to @ and * to ~
and we are dealing with new can.Map({ key: can.compute(1) })
what @key should look up
Mark Stahl
@mjstahl
and new can.Map({ key: function() {} })
Justin Meyer
@justinbmeyer
~key is going to provide a compute, if the property is a value, it will convert it to a compute that will update the property on a change.
~key1.key2 will provide a compute, a compute that updates when any observable in the "path" changes
I think ~ is pretty easily understood
Mark Stahl
@mjstahl
Agreed. Hmm.. this may be a little trickier. @key1.key2 ?
Justin Meyer
@justinbmeyer
compared to @
as ~ is basically what gets passed now to helpers
Mark Stahl
@mjstahl
Yep, that is what I was just going to say
Justin Meyer
@justinbmeyer
but yeah, @ ... part of me feels like it should be "one less magic" thing happens