« first day (3324 days earlier)      last day (1607 days later) » 

12:41 AM
 try {
    done(false, JSON.stringify(exec(code)));
} catch (e) {
    try {
        if (e.message !== "Illegal return statement")
            throw e;
        done(false, JSON.stringify(execIIFE(code)));
    } catch (e) {
        done(false, JSON.stringify(e.toString()));
    }
}
 
@Sheepy 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 like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
 
@JBis Yes, see above.
 
 
1 hour later…
2:00 AM
@Sheepy that's sneaky, I like it. Thanks
 
 
7 hours later…
 
3 hours later…
12:08 PM
@BenFortune can someone explain why people like ECMAScript import export better than require and module.exports?
 
12:21 PM
hello
I have a popup window that automatically goes into fullscreem, I have the button to exit fullscreem and a button to exit, if the window is fullscreem the exit button works perfect, but if there is no fullsceem bug the whole page
$(document).ready(function () {
		var count = <?php echo $_POST['id123']; ?> ;
		$(".dr" + count).parents('.panel').toggleClass('fullscreen');
		$(window).trigger('resize');
	});
	var count = <?php echo $_POST['id123']; ?> ;
document.getElementById("detalhes" + count).outerHTML = '';
 
Anyone know why JSDelivr isnt working?
I created this repo like 8 hours ago, and Ive been trying to link to it since yesterday
 
it have a way to fix this better?
 
and it still cant "find" my file
Heres the repo itself: github.com/skylerspark/Modded-JS
it says it "takes a couple hours to connect to the file" but its been over 8-10 hours
??
 
i don't know how to help you...
 
12:38 PM
Nevermind Im a fliptard
I had a comma where the .js was
facepalm
 
JamesBot now supports returning directly:
||> return "foo" + " " + "bar"
 
@JBis "foo bar" Logged: ``
 
VOID
anyone can help? tiny ideia?
 
Cool.
||> return 2 * 88
 
@TaylorS 176 Logged: ``
 
12:50 PM
:P
 
user10141648
https://jsfiddle.net/w7bhs0x9/

How do I make sure that the output is being showed under my search bar
 
||> 1
 
@towc 1 Logged: ``
 
don't see why return is useful there
 
Hello @all
 
1:08 PM
I want to use service worker api, i saw some tutorials and made it work, but looks like the website needs to be hosted in nodejs server. I want to know if i can run my website on apache/nginx and run only the push api server on nodejs, is it possible? github.com/bradtraversy/node_push_notifications
 
I used service workers in a static website to get public ip
You sure?
 
I'm not sure, but i lost some time trying to implement this in apache, but did not worked. In the github link on index.js, there's this line: app.use(express.static(path.join(__dirname, "client"))); i could not make it work without it, and as you know, this line sets the the path to a static website
 
1:33 PM
@boss take a look below
 
 
3 hours later…
4:23 PM
@JBis After i tried to use this http module i realized why it was not working. I got a extra slash in the ProxyPass, so all the requests was goint to //subscribe, and because it was serving the files from the client folder i misunderstood the logic of the nodejs server
 
4:47 PM
 
That comic is really stupid
 
I don't get it.
 
 
1 hour later…
V.7
6:02 PM
Hey all
Even their site kentcdodds.com has issues mb
 
meh
 
6:25 PM
Kent C Dodds has made a career for himself out of smiling and talking at JS conventions. Take his opinion with a grain of salt.
4
 
 
1 hour later…
7:54 PM
function bar(){ return promise1.then(promise2) } bar().then(promise3);
Will promise3 happen after promise 2?
 
?
 
Is that the equivalent of promise1.then(promise2).then(promise3)?
 
yes
 
ok thanks
 

« first day (3324 days earlier)      last day (1607 days later) »