Skip to content

Make Asciinema compatible with LibreJS #313

@ole-tange

Description

@ole-tange

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions