News for hackers. Stuff that matters.
Re:Intro to JS Web Workers by gliese1337 on Thursday June 13, 2013 @06:40PM (#5877082)
Inlining a worker with an ObjectURL is brilliant. It nicely solves the issue of worker script urls being resolved relative to the page, rather than relative to the URL of the calling script. I had previously solved that problem just by having the parent script read a global variable with the proper absolute path to the worker's location, but this is much nicer.
Re:Intro to JS Web Workers by camus on Thursday June 13, 2013 @07:50PM (#5877441)
gosh , it's a killer trick!