[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: External script magnet link example

From: Ruben Rodriguez
Subject: Re: External script magnet link example
Date: Fri, 4 Sep 2020 17:58:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Icedove/68.10.0

On 9/1/20 9:39 PM, Sagar Acharya via wrote:
> Guys,
> I tried adding license info this way to external script. It doesn't work for 
> me. LibreJS doesn't recognize it.
> <script src="{{url_for('static', filename='js_css/jquery.min.js')}}">
> // @license 
> magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt 
> MIT-licensed
> // @license-end
> </script>

For an external script, you should add the license to the script itself:

// @license

your code

// @license-end

Alternatively you can list the license of external scripts using

Attachment: 0x46A70073E4E50D4E.asc
Description: application/pgp-keys

reply via email to

[Prev in Thread] Current Thread [Next in Thread]