soanvig / mm-jsr

Range input solution without dependencies
https://soanvig.github.io/mm-jsr
GNU Lesser General Public License v3.0
56 stars 16 forks source link

Provide compiled code / Arduino usage #93

Closed mcer12 closed 3 years ago

mcer12 commented 3 years ago

Hi, first off, this looks great and is probably the only nicely fleshed out range slider library that doens't need jquery.

Since I want to use this on an arduino project and have to embed it in the code by hand, it would help tremendously if you included the files precompiled (minified or not) so I can copy the code there.

soanvig commented 3 years ago

Hello, thanks there

I don't include compiled code in repo, because it bloats the repository itself. You may however download it from npm directly using unpkg: https://unpkg.com/mm-jsr/

There you can browse compiled files and download them (index.js is your main interest). They are already minified. Types directory is not required, it is only helpful for IDE or compilation process as dependency in other projects.

Does this suit your case?

PS I have no idea how you are going to launch JS library (requiring browser) on Arduino, but let me know how this works if you will be able to launch it :)

mcer12 commented 3 years ago

Awesome, thank you!

út 18. 5. 2021 v 20:46 odesílatel Mateusz Koteja @.***> napsal:

Hello, thanks there

I don't include compiled code in repo, because it bloats the repository itself. You may however download it from npm directly using unpkg: https://unpkg.com/mm-jsr/

There you can browse compiled files and download them (index.js primarily). They are already minified. Types directory is not required, it is only helpful for IDE or compilation process as dependency in other projects.

Does this suit your case?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/soanvig/mm-jsr/issues/93#issuecomment-843444097, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIAMMAN54N4SIKOFLZLXPU3TOKYYVANCNFSM4476P4SQ .

soanvig commented 3 years ago

Super! If You need any help or some code changes, let me know in this issue. I'm eager to help. I will leave this open issue for a while.

mcer12 commented 3 years ago

@soanvig Regarding your question... it is Arduino project but actually ESP8266 which is a wifi module and can host small websites :)

soanvig commented 3 years ago

@mcer12 how's going? Can we close this issue, or do you need some support?

mcer12 commented 3 years ago

Feel free to close it, I will create a new issue if there’s a problem ;)