Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 550 Bytes

README.md

File metadata and controls

22 lines (12 loc) · 550 Bytes

Web Worker Demos

Three demos showing off web workers:

  1. basic.html - A simple dedicated web worker.
  2. inline.html - Showing how you can use inline JS to power a dedicated worker. Good if you minify
  3. shared.html - Simple example of a shared worker. Open two tabs and watch how the worker interacts with both

Install

Serve up the root of the project with your favorite static web server and you are off and running!

Node.js

npm install http-server -g

http-server -p 8080

Python

python -m SimpleHTTPServer 8080