3 ms·
Really? I've been putting the license in every file in my project because it's JavaScript and people drive by a website, see "foo.js" and have no idea where it
by greggman 12y ago
Really? I've been putting the license in every file in my project because it's JavaScript and people drive by a website, see "foo.js" and have no idea where it came from or what license it's under. With the license in the file it's immediately clear.
- towelguy 12y agoIf the file doesn't have a copyright notice, I'd assume the author is the website's owner and its license should apply. Maybe there should be a convention to add a copyright.txt file to websites like there is robots.txt and humans.txt?
- davedx 12y agoUsually you'd concatenate and minify deployed JavaScript anyway. Sometimes you get a license in that, sometimes you don't. I don't think that many people really copy that much JavaScript from live sites these days...