https://github.com/thheller/worker-example
demo web worker example
https://github.com/thheller/worker-example
Last synced: 11 months ago
JSON representation
demo web worker example
- Host: GitHub
- URL: https://github.com/thheller/worker-example
- Owner: thheller
- License: epl-1.0
- Created: 2016-02-19T21:30:18.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-20T10:45:50.000Z (over 10 years ago)
- Last Synced: 2025-04-05T03:13:23.881Z (about 1 year ago)
- Language: JavaScript
- Size: 1.47 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
`lein run -m build/dev`
Since Web Workers require a http server for security purposes you'll need something to serve the files in this repo.
Launching something like `python -m SimpleHTTPServer 8000` in the project root directory is enough.
Then open `http://localhost:8000/demo.html`
For a production build: `lein run -m build/production`, no need to touch the HTML. Just reload.