Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign up
console.log() for HTML5 Web Workers
Cannot retrieve the latest commit at this time.
| Type | Name | Latest commit message | Commit time |
|---|---|---|---|
| Failed to load latest commit information. | |||
|
|
tests | ||
|
|
README | ||
|
|
WorkerConsole.js | ||
|
|
testpage.html | ||
README
Include the WorkerConsole.js script at the top of your HTML files and your Web Worker threads should be able to use console.log() to generate debugging output. This is just at the proof-of-concept stage, however, and has not been carefully tested. See the comment at the top of WorkerConsole.js. Only works in browsers that support MessageChannel (this excludes Firefox 4). See testpage.html and tests/testworker.js for the simplest possible use of WorkerConsole.js