-
Notifications
You must be signed in to change notification settings - Fork 26
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
biojs snippets #1
Comments
Hey, Thanks for the hints. I'll have a look. I have an additional question concerning the .css file. The example at 'http://workmen.biojs.net/demo/muts-needle-plot/distributedMuts' tries to fetch the css as follows:
Where is this path coming from? In the package.json there is a css entry in the sniper-section:
|
All JS files in the build dir are replaced with the browserified version, however at the moment we haven't agreed on a "CSS browserify" yet (nor for documentation). That is why the registry-workmen translates all path (except for the js build dir) starting with
|
Ok - I have added the build-directory to the github (It was not there). I hope it will work. |
Working |
I just saw that you published this nice component. Nice!
Also I saw that the "snippets" documentation isn't pefect yet, so I just post here what I saw in your package - maybe it helps you.
data
->./data
). Otherwise there is no way for the registry to fix the pathSo if you use the string "yourDiv" d3 won't find the injected element and d3 will use
document.body
as fallback. As yourDiv is a DOM reference you can pass it directly to D3 liketarget: yourDiv
, or you can also get its id withyourDiv.id
The text was updated successfully, but these errors were encountered: