samizdatco / arbor

a graph visualization library using web workers and jQuery
http://arborjs.org
2.66k stars 634 forks source link

Unexpected token in attribute selector: '!'. #5

Closed muratkesin closed 13 years ago

muratkesin commented 13 years ago

using web workers physics: [xpconnect wrapped (nsISupports, nsIDOMEvent, nsIWorkerErrorEvent)] { type="error", target=Worker, more...}

Failed to load script: /arbor.js (nsresult = 0x805303f4)

AlexandreAbreu commented 13 years ago

This is a requirement of the webworkers that you cannot load a webworker associated javascript from the localfilesystem or from a domain that is not the domain of origin of the rest of the site.

I added to my forked repo a little python webserver that serves that purpose:

https://github.com/AlexandreAbreu/arbor

just run it and access the website with "http://localhost:8000/demos/echolalia/" for example.

AlexandreAbreu commented 13 years ago

I can issue a pull request if the server is useful.

muratkesin commented 13 years ago

thanks for your answer.