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

Hosting on GitHub Pages would be helpful #35

Open
williamsokol opened this issue Mar 23, 2022 · 2 comments
Open

Hosting on GitHub Pages would be helpful #35

williamsokol opened this issue Mar 23, 2022 · 2 comments

Comments

@williamsokol
Copy link

I wanted to use this library without adding joy.js to my website (it is kind of a pain)

If this repo was hosted on GitHub pages it would easy to use by just saying:
<script src="https://bobboteck.github.io/JoyStick/joy.js"></script>

For now I forked the repo and am using:
<script src="https://williamsokol.github.io/JoyStick/joy.js"></script>
But it'd be nice for new people if they did not have to fork it.

@bobboteck
Copy link
Owner

I @williamsokol you can use a reference to the file in the github release of the repository

https://github.com/bobboteck/JoyStick/releases/download/v2.0.0/joy.min.js

You think is a good solution?

@williamsokol
Copy link
Author

So what I ended up doing was use the joy.js from the example: https://bobboteck.github.io/joy/joy.js so that works! It might be nice to say we can do that in the readme though.

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