kieler / klayjs

(deprecated) KIELER's layout algorithms for JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proper script (multi-)registration

uruuru opened this issue · comments

To support browser, node, and web worker, the script has to be registered in different ways. Currently, this is done in one of the java classes.

A better idea might be to use browserify. The default configuration would thus be a node module and browserify would be a part of the grunt task. A question is how the web worker fits into the picture though.