var greetings = {world: "Hello World"};
var subject = 'world';
console.log(greetings[subject]);
This is zealotry in action, who do they think is going to use this? var greetings = {world: "Hello World"};
var subject = 'world';
console.log(greetings[subject]);
This is zealotry in action, who do they think is going to use this?You can put in arbitrary heuristics and argue how many expressions, lines, or words should be required for copyright status, but then there will always be up to a judge if you guessed right.
The options here seems to either not include any detection for the copyright scope, or try invent something and hope that people will send in patches when it hit a false positive.
If you think such plugin should detect something as trivial code which it currently classify as not, send in a patch.
I know people are going to say "what about minification", but c'mon, it's the 21st century, web servers know how to compress data streams when they send them and web browsers know how to decompress them. Minification for the purpose of saving bandwidth is a bugbear.
https://developers.google.com/web/fundamentals/performance/o...
The sample above is "non-trivial" according to the set of heuristics they are using, so they are just saying "if the program is not trivial, then you need to explicitly state that it is GPL for us to consider it free"
(as a consequence, my entire site won't work for users with this enabled)
I mean -- the websites you are visiting are bound to be using non-free proprietary software. At least a few of them.
Actually -- the routers your packets travel through are using proprietary non-free software!
The BIOS that boots your PC is non-free and proprietary!
Just throw your computer out -- that is the only sure way to stop using non-free software. (actually, don't throw it out -- just mail it to me ;)
Oh yeah, using jquery is "non-trivial".
What a load of crap.
/! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license /
It's not ideal, but I'll take it.
The $.doSomething(); example
Completely tangentially, its quite possible to be a Catholic priest [1], have never violated any Catholic teaching or discipline, and have practical experience with sexual intercourse. Catholic priests can't get married, and men usually can't become priests in the Latin Rite if they are currently married [2], but widowers can be ordained priests in the Latin Rite, and married men can become priests in the Eastern Rites.
And, in any case, even in theory, becoming a priest doesn't require one to never have violated teaching on this (or any other) point before so doing.
[1] in the usual sense of a "priest in a church in union with Rome", not extending that to breakaway or never-in-union churches that might have "Catholic" in their name.
[2] But there are exceptions to this rule.