35 ms·
> Calling methods with the square bracket notation > If it includes something like the above [...] and it doesn't have a free license statement, should people r
by madeofpalk 11y ago
> Calling methods with the square bracket notation
> If it includes something like the above [...] and it doesn't have a free license statement, should people really complain about it?
Why on earth would this project concern itself with the coding styles of the JS that the author prefers? Even if the site and/or JS is free software, why do things things matter?
I mean, I get linting your own code, but linting the code of sites you visit just seems pointless.
This, banning AJAX requests and with the arduous process of getting into the 'libre' whitelist, makes this project a complete joke.
- drdaeman 11y agoWhere do you guys see the prohibition? I've opened https://www.gnu.org/software/librejs/manual/librejs.html#index-javascript https://www.gnu.org/software/librejs/manual/librejs.html#ind... and see that having functions, doing AJAX requests, square brackets and the other stuff is what they use to distinguish between trivial JS code and non-trivial one. And it exactly makes sense - no one wants to stick a license over every trivial JS one-liner that's could be less of a program and more of configuration statements block. But those who care about free software don't want to run non-free programs. So, the heuristics. But I really can't find anything like a ban on use of functions or AJAX requests, or something similarly ridiculous, that some comments here seem to imply. Seriously, WTF?