News for hackers. Stuff that matters.
Re:Canned Emails – a minimal site with prewritten emails by hippich on Saturday February 14, 2015 @09:04AM (#9049656)

   console.log(output); 
needs to be last line outside each() :) Or move var content = "" inside each()
Re:Canned Emails – a minimal site with prewritten emails by bramgg on Saturday February 14, 2015 @01:17PM (#9050289)
Whoops, you're right, console.log was supposed to be at the very bottom of the script. By default most browser consoles scroll you to the bottom of the output, so I just read the first half scrolling up and never noticed. No matter, amarraja's version is much better.