help-librejs
[Top][All Lists]
Advanced

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

Re: [Help-librejs] EVAL functions (complains from LibreJS)


From: rsiddharth
Subject: Re: [Help-librejs] EVAL functions (complains from LibreJS)
Date: Sat, 14 Feb 2015 22:41:54 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0

> Have a small project trying to get LibreJS accepting the Qvitter UI
> plugin for GNUsocial to work together. E.g. this site ->
> https://quitter.no

> However, there are some error reports from LibreJS I dont
> understand.

> E.g. - jquery-ui-1.10.3.min.js - LibreJS is complaining about the use
> of EVAl function. (NONTRIVAL: Eval has been found in code). Searching
> for the eval function in these libraries does not detect any use of
> the eval function. So the question is why does LibreJS complain about
> it?

> This goes for : jquery-ui-1.10.3.min.js jquery.easing.1.3.js

See if this recipe works:

 1. At the beginning of each JS file (that is not being accepted by
LibreJS), add the following line:

      // @license [magnet-link]

   The [magnet-link] must be replaced with the magnet-link of the
license[1].

 2. At the end of each JS file (that is not being accepted by LibreJS),
add the following line:

     // @license-end

[1]: See
https://www.gnu.org/software/librejs/free-your-javascript.html#magnet-link-license



Another way to mark JS files as free is by using JavaScript Weblabels (I
guess this is the best way to do it). See
https://www.gnu.org/software/librejs/free-your-javascript.html#step3
-- 
rsiddharth
gpg id: B6AD4643

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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