[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-librejs] LibreJS not detecting web labels
From: |
Pelle Hjek |
Subject: |
Re: [Bug-librejs] LibreJS not detecting web labels |
Date: |
Fri, 7 Sep 2018 02:17:53 +0100 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Thu, Sep 06, 2018 at 11:48:59AM -0400, Ruben Rodriguez wrote:
> There is a debug mode but you have to enable it in the code and build
> the xpi with it. I'll see about having that be a user setting instead.
That would be really cool. Thanks for looking into that.
I got it to work with inline labels, but I notice that LibreJS is very
sensitive and fails to recognize a license name if there's a space after the
name.
I can see how it makes sense for LibreJS to be strict about license names
rather than using some regexp (otherwise I could label my code as "not GPL-3.0"
or similar to trick it), but if it is that picky about whitespace, then those
errors should be made a bit clearer.
I'll look at the code and see if it's something I can grasp.
--
Pelle Hjek
address@hidden
https://hjek.tk