Make Asciinema compatible with LibreJS
ole-tange opened this issue · comments
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?