Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 17:40
    nlundquist edited #5424
  • 17:40
    nlundquist edited #5424
  • 17:39
    nlundquist opened #5424
  • 17:39
    nlundquist review_requested #5424
  • 17:39

    nlundquist on 107-update-converter-demos

    update can-stache-converters de… (compare)

  • 14:32
    greenkeeper[bot] labeled #5423
  • 14:32
    greenkeeper[bot] opened #5423
  • 14:32

    greenkeeper[bot] on can-route-5.0.1

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

  • Nov 13 13:09

    greenkeeper[bot] on steal-tools-2.2.3

    (compare)

  • Nov 13 12:55

    greenkeeper[bot] on steal-tools-2.2.3

    chore(package): update steal-to… (compare)

  • Nov 13 01:44

    greenkeeper[bot] on @webcomponents

    (compare)

  • Nov 13 01:42

    greenkeeper[bot] on @webcomponents

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

  • Nov 12 05:28
    greenkeeper[bot] commented #5392
  • Nov 12 05:28

    greenkeeper[bot] on core-js-3.4.1

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

  • Nov 11 18:03
    greenkeeper[bot] labeled #5422
  • Nov 11 18:03
    greenkeeper[bot] opened #5422
  • Nov 11 18:03

    greenkeeper[bot] on @feathersjs

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

  • Nov 11 18:02
    greenkeeper[bot] commented #5401
  • Nov 11 18:02

    greenkeeper[bot] on @feathersjs

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

  • Nov 10 23:39

    greenkeeper[bot] on @octokit

    (compare)

Yura Ostroukh
@iSokrat
Hello everyone! Does somebody have an experience with migration CanJs 2 to CanJs 3? Are there some bottlenecks with this process not described into https://canjs.com/doc/migrate-3.html? Thank you for any help!
Viktor Busko
@Lighttree
@chasenlehara :D thanks, already created story for migration.
Besides is there any reason for this proposal: canjs/canjs#3864 disappear from survey ?
Ivo Pinheiro
@ivospinheiro
Hi guys!
Is there any way to disable all warning log messages from can?
Justin Meyer
@justinbmeyer
@ivospinheiro you could overwrite can-dev/log’s warn method
Why do you want to disable them?
Ivo Pinheiro
@ivospinheiro
I'm having issues running the applications QUnit/FuncUnit tests using testee after completing upgrading the application to Canjs5.
I'm still having lots of log messages on console and I think that testee collects them.
Ivo Pinheiro
@ivospinheiro
If I run the tests directly on browser they are running with no errors
Ivo Pinheiro
@ivospinheiro
I was thinking on setting the environment as production only but I really don't know how to set it.
Viktor Busko
@Lighttree
We usually fix them. Not sure about your case, but in cases that I had these warnings pointed on some incorect usage or deprecated stuff.
So it seems like if you disable them you hide potential issues.
Ivo Pinheiro
@ivospinheiro
They will be fixed for sure but it is a huge application and it takes some time to fix all of them
Meanwhile I was trying to have a build in ou CI server
It seems that the log messages are being sent to testee.
At least is what I can understand from the following call stack:
image.png
Frank Lemanschik
@frank-dspeed
@ivospinheiro testee is a client server Application
it runs a server with a little api for example mocha or anything else it is flexible
testee.min.js is the client part it gets the mocha tests for example executes them and returns them via the api to the server
so testee.min.js is only a executor that sends the result to the server via the api that it offers
and then returns the result from that api call
thats how it works hope that this info helps you a bit better to understand the concepts behind it
Ivo Pinheiro
@ivospinheiro
What I was trying to say is that the log messages generated by can packages like
Ivo Pinheiro
@ivospinheiro
Can-bind, can-queues and can-observation-recorder are all being collected by testee client and being sent to testee server. This warning/info messages are not relevant to testee report, so I was trying to disable them because it seems that the tests are hanging because testee client is sending all the log messages to testee server.
Frank Lemanschik
@frank-dspeed
@ivospinheiro hmmm thats a bit out of my scope as this logs only show up with can-debug normaly this should not get sendet to testee i think your callStack ends at a async timeOut function so this is where it hangs
:D
Viktor Busko
@Lighttree

Guys starting from CanJS@4 is it prohibited to have such code in stache ?

{{ myCustomProperty.split(' ')[0] }}

It was valid code before that did required operations on prop

Kevin Phillips
@phillipskevin
@Lighttree that should still work
it's possible you're running into this bug: canjs/can-stache#615
although it's not totally the same thing
Viktor Busko
@Lighttree

Hmm... looks different to me

https://codepen.io/Lighttree/pen/eQjzwy?editors=1010

maybe you can check this codepen

Kevin Phillips
@phillipskevin
yeah, seems like a different issue
Chasen Le Hara
@chasenlehara
@Lighttree Would you mind filing an issue for that with the CodePen you made? https://github.com/canjs/can-stache/issues/new
Also, to answer your question about the stache animation proposal being removed from the survey: we regularly remove proposals that haven’t gained a large amount of support over a few surveys. We will probably bring it back in a future survey, but keep mentioning it in the survey comments to remind us. :)
Viktor Busko
@Lighttree
@chasenlehara Sure: canjs/can-stache#634
Yura Ostroukh
@iSokrat
https://v3.canjs.com/doc/guides/chat.html jsbin shows errors for Result.
Chasen Le Hara
@chasenlehara
Thanks @iSokrat, we’ll get that fixed today.
In the meantime, I’d recommend going through our latest chat guide: https://canjs.com/doc/guides/chat.html
We’re about to go through the results of our last community survey! https://www.youtube.com/watch?v=5txCgyRodtA
Chasen Le Hara
@chasenlehara
@iSokrat Here’s a fixed version of that JS Bin: https://bitovi-jsbin.jsbin.com/yexezu/edit?html,js,output
Yura Ostroukh
@iSokrat
@chasenlehara Thank you so much.
Chasen Le Hara
@chasenlehara
Lots of IE 11 fixes in recent releases. 🎉 https://github.com/canjs/canjs/releases/tag/v5.17.1
RyanMilligan
@RyanMilligan
Has anyone else noticed that every network request made from can-ajax is synchronous? I edited can-ajax.js (https://github.com/canjs/can-ajax/blob/d5241b027ac2b44ec83e7014c89db2eccda72af6/can-ajax.js#L217) to pass true as the third parameter to xhr.open(), and that seems to have solved the issue. Is there a reason the framework isn't doing this by default?
RyanMilligan
@RyanMilligan
Huh, but in Production our requests appear to be asynchronous, using the same version of can-ajax.
Frank Lemanschik
@frank-dspeed
@RyanMilligan i think your looking wrong :)
and you don't see the diffrence between async and sync requests
RyanMilligan
@RyanMilligan
What I know is that our UI is locking up when a network call is being run, and when I edit can-ajax.js to pass true as the third parameter to xhr.open(), the UI stops locking up.
Frank Lemanschik
@frank-dspeed
what means UI Lockup
whats the code for that
RyanMilligan
@RyanMilligan
It means you can't scroll, the cursor doesn't change when you mouse over buttons...the UI is blocked by the network call.