help-librejs
[Top][All Lists]
Advanced

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

Re: [Help-librejs] Multiple licenses in one JS file


From: Kuno Woudt
Subject: Re: [Help-librejs] Multiple licenses in one JS file
Date: Sat, 06 Dec 2014 11:34:05 -0500

On Sat, Dec 6, 2014, at 10:58 AM, Nik Nyby wrote:
> >> I would like to free my JavaScript, but I have the following problem: We
> >> have one minified JS file which contains our own JavaScript as well as
> >> other open source libraries with different licenses (all concatenated).
> >> How can I specify the different licenses for this one file?
> > 
> > I'm also interested in how to do this.  Folding + minifying JS files
> > leads to better performance, so I hope we don't have to give up such a
> > thing when using LibreJS.
> 
> I'd like to think of a way to do this, too.
> 
> We could come up with some format that LibreJS can understand that has
> metadata about a combined JS file. A comment at the top of the file or a
> JS Web Labels table entry could specify that, for example, lines 2 to
> 200 of this file contain jQuery, licensed under Expat.

It doesn't seem interesting to know which part of the minified file are
covered by which license.  We don't care about which bits of a
statically built desktop applications contain which library, etc.

If the minified file contains non-free parts, just don't run any of it.

-- Kuno.




reply via email to

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