-
Notifications
You must be signed in to change notification settings - Fork 1
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
Does it work in browser or just on node? #2
Comments
It should work on the browser @cosmo-naut |
Is there any specific way I need to import it in conjunction with ccv?
|
this is a reduced version of the ccv in order to reduce the size of the source files, I have a plan to release other algorithms on separated packages |
So I would want to include src/LoadSWT.js as well as ccv/js/ccv.js?
|
no, just the LoadSWT should do the work... |
What about the ml-matrix dependency of that file? Sorry to bother you, your help is greatly appreciated
|
I guess that you are able to browserify and it gets all the dependencies, otherwise I will try it and tell you later |
I am having an error being unable to find the distribution folder ../dist/ccv
It is present nowhere in the git repo
|
are you using npm? or you are using only the repo, if you are using the repo you have to compile it (download the repo with it's submodules) and compile it, to have those folder, also you can run the test to check if it's ok (npm run test) |
to install it, you need to install emscripten, then you just have to compile using |
I am currently trying to use npm. |
ok, just let me try, I guess that the dist folder is missing on the npm package... |
Hello, currently it should work, download the latest version on npm and try to run it. I test it on runkit and it loads well: https://npm.runkit.com/stroke-width-transform note: Actually the build on travis is failing because I got some error on the docker image from emscripten so don't pay attention to it... |
Can confirm the new build has dist after an update. I am currently getting the following error however:
Googling the error and looking into other GitHubs, apparently there a couple of solutions but they may be specific to other applications. This one for instance says to add This might also have something to do with it, maybe it'll help. All of this is a little out of my knowledge at the moment, I'm not sure what the relationship between all of these various softwares is |
it's weird because it should load the module using the index that is on the 'lib' folder, and in that folder there's no |
@cosmo-naut @JeffersonH44 I just built the source folder with babel and referenced src/index.js manually. Works fine. |
No description provided.
The text was updated successfully, but these errors were encountered: