Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added workerUrl as optional parameter #44

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

christianvoigt
Copy link

I added workerUrl as an optional parameter, so that it is possible to
compile arbor.js into another minified js file. Previously, arbor looked
for a script tag with arbor.js to get the url for the web worker. If
arbor.js is compiled into a js file with a different name, arbor couldn't load the web worker. With workerUrl you point arbor to the js file it should
use for the web worker. If workerUrl is undefined, it falls back on the
old method of guessing the url.

christianvoigt and others added 6 commits March 30, 2013 15:55
compile arbor.js into another minified js file. Previously, arbor looked
for a script tag loading arbor.js to get the url for the web worker. If
arbor.js is compiled into a js file with a different name, arbor didn't
find anything. With workerUrl you point arbor to the js file it should
use for the web worker. If workerUrl is undefined, it falls back on the
old method of guessing the url.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants