Identify JavaScript as AGPL-3.0-only for LibreJS

This commit introduces LibreJS compatible `@license' blocks as per
https://www.gnu.org/software/librejs/free-your-javascript.html

The magnet URI can be opened in a BitTorrent client to retrieve a copy
of the GNU AGPL 3.0 license. Section 3.2.2.1 from the above link has
a list of magnet URIs for various free software licenses.
This commit is contained in:
Mark Dain 2021-03-23 20:34:49 +00:00 committed by Drew DeVault
parent c69656bbe2
commit aa6a984704
2 changed files with 4 additions and 1 deletions

View File

@ -476,7 +476,7 @@
{% block scripts %}
<script type="text/javascript">
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0-only
{% include "autocomplete.js" %}
(function() {
@ -497,5 +497,6 @@
});
}
})();
// @license-end
</script>
{% endblock %}

View File

@ -192,6 +192,7 @@
{% block scripts %}
<script type="text/javascript">
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-3.0-only
{% include "autocomplete.js" %}
(function() {
@ -202,5 +203,6 @@
autocomplete.register();
}
})();
// @license-end
</script>
{% endblock %}