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

Problems with the JS structure #43

Open
thomasf1 opened this issue Mar 14, 2013 · 1 comment
Open

Problems with the JS structure #43

thomasf1 opened this issue Mar 14, 2013 · 1 comment

Comments

@thomasf1
Copy link

I´ve tried to re-package the arbor tween and graphics js into but encountered a number of issues... First, the web worker held me up and the overall packaging of the JS isn´t as simple as it could me... It seems quite fickle when minifying code as well...

I´ve actually tried to port it over to coffeescript as the coffeescript "class" seems a perfect match for the structure and would add more clarity to the code (rather than handling this and that manually)...

Do you think it´s a good match?

PS: Sorry for using the Issues to communicate...

@christianvoigt
Copy link

I had the same problem. The web worker looks for a script tag that loads arbor.js in the html file. I want to put all the libraries I am using and my own code into one minimized file. The only simple way to do this with arbor is to change the string arbor is looking for, so that it finds my custom file. But then the web worker would load a lot of unnecessary code. So it would probably be best if the web worker would still load a separate arbor.js file. It seems to me the easiest way to accomplish this would be, to make it possible to initialize arbor with a path-to-arbor-js parameter.

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

No branches or pull requests

2 participants