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

Is this client side or node.js? #23

Open
ghost opened this issue Dec 1, 2019 · 3 comments
Open

Is this client side or node.js? #23

ghost opened this issue Dec 1, 2019 · 3 comments

Comments

@ghost
Copy link

ghost commented Dec 1, 2019

It's unclear to me whether this library is for client-side use, or server-side/node.js use.

Currently, I'm leaning towards client-side, but wanted to double check

@lizard-isana
Copy link
Owner

Currently, it is intended to be used for client-side. Node.js module version is planned but not yet started.

@ghost
Copy link
Author

ghost commented Dec 6, 2019

OK, I tried to use it as a client side library (first ~30m of https://www.youtube.com/watch?v=v1ItMdi3_GY), but was stymied by the fact that it appears to want to load local files (in v1/solarsystem.js for example), which, as you know, client-side Javascript can't do.

It's possible, even likely, that I just misunderstood something and/or confused v1 and v2, so this comment is more feedback, not a complaint.

@lizard-isana
Copy link
Owner

Sorry for late response.

The v1 is old version. It requires http connection(web server) because data files are loaded via Ajax.
The v2 (in the "build" folder) is latest version works without http connection.

I was renamed the folder "v1" to "old". Thank you for your feedback!

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

1 participant