views:

76

answers:

2

BSD license says:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

Do I have to put the license even in the minified JS code or it could be treated as "binary form" and I can place the license somewhere on the Credits page?

What does "binary form" actually mean?

+1  A: 

I'm no lawyer, but what I usually see is the license on top of the minified javascript. I know that Closure Compiler has an option to avoid removing the license from the minified file:

http://code.google.com/intl/fr/closure/compiler/docs/js-for-compiler.html#tag-license

In the case of javascript, I don't think that there's such a thing as binary form since it's an interpreted language.

Guillaume Filion
+1  A: 

A minified JavaScript file is just a file that has been rewritten to take less space, but it still is JavaScript code. You still need to report the license for the code.

kiamlaluno