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

Make Asciinema compatible with LibreJS #625

Open
ole-tange opened this issue Apr 15, 2024 · 0 comments
Open

Make Asciinema compatible with LibreJS #625

ole-tange opened this issue Apr 15, 2024 · 0 comments

Comments

@ole-tange
Copy link

I found out it is really not that hard to make Asciinema compatible with LibreJS. Add this to *.js:

// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt   
[code]
// @license-end

And for inline code:

  <script>
    // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt        
    AsciinemaPlayer.create('parallel.cast', document.getElementById('asciinema1'));
    // @license-end                                                                                
  </script>

See a live example on:

https://www.gnu.org/software/parallel/

May I suggest you insert these two lines in the js, and update the doc to add the lines to <script>, so we can help LibreJS spread free JavaScript?

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