Ultrasound of little sheep Alpha. I didn't expect the name Alpha to get so much support when I proposed it to the family. Don't ask whether I will suggest Beta for the next (if any).
const response = await fetch(url, params);
if (!response.ok){
throw new Error('Error getting profile from the request');
}
return await response.json();
I am curious how he even stumbled upon my repo. It has nothing to do with firebug :/
Hmm I need to make something less transiently helpful. So far my OSS stuff has only received stars and stupid issues/PRs (like github.com/awalGarg/netmonitor/pull/3 this fine guy).
Hi...Why this NodeJS doesn't return currently. i Use callback on done function...but this is not problem ..i need to write my return value to output using write() method ( i mean res.write() ).. My working copy: jsfiddle.net/3gvbk1gu
@TolaniJaiye-Tikolo Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
@mcmwhfy Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
@KyLim Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
well, in game dev you very often check if keys are pressed outside of the event listener
what one may do is store an object with each key that should be used to the corresponding event if the key is pressed, and if the key is not down it's either "false" or something falsey
Hello everyone. This season I am trying to learn how to make preloaders. There so many articles about this in the web so I started looking for websites that have nice preloaders and learn from them on how to make one. So I found this very nice website with a very well made preloader.
https://www.weblounge.be/
I am trying to find which script is making this preloader to work so nice. Any help would be more than welcome. I used the developers tools but I couldn't find much on how the preolader is activated and waits until the page is loaded.
@Bajaj No. I have done Java socket and packet debug, but I don't know JavaScript socket, no.
@BrianJ Problem is your anonymous function is empty. You need to put the hide code in it. But then you'll need to capture the value of "this" in a closure. Arrow function should be simplest.
@BenFortune Well it doesn't worl properly when you rescale the image, I had a few issues. (don't remember exactly where the issue was). So I just rewrote it entirely in my own way.
@Unique_Key Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
But, problem is my code isn't being recognized: I have it integrated in an asp.net application, and if I put that script on my page I'm getting an error that editor is an undefined variable. Where would I place it, exactly?