> 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
signature.asc
Description: OpenPGP digital signature
