开发者

Which all licenses refrain user from removing the “license notice”? [closed]

开发者 https://www.devze.com 2023-04-02 04:41 出处:网络
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question 开发者_如何学C

Can someone tell me which all licenses restrict a user from removing the license notification at the top of a file?

Case:

Some JavaScript files have sections like this:

“/* RequireJS 0.26.0 Copyright (c) 2010-2011, The Dojo Foundation All Rights Reserved. Available via the MIT or new BSD license. see: http://github.com/jrburke/requirejs for details */”

During compression is it fair to remove this?


You won't run into any problems removing the license from the top if it doesn't say you can't. A minifier will remove the comment too.

Just don't redistribute the code without the license.


Both the MIT and BSD licenses (the two options that header indicates) require that the license is kept intact. You should not remove it during compression.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号