samizdatco/arbor — pull request #44 by christianvoigt (2013-03-30 15:07:26+00:00)
Title: added workerUrl as optional parameter

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.