josephschmitt / Clamp.js

Clamps an HTML element by adding ellipsis to it if the content inside is too long.
http://joe.sh/clamp-js
2.41k stars 770 forks source link

License #27

Open compwright opened 10 years ago

compwright commented 10 years ago

Please state what license this code is released under. I'm not allowed to use anything in my current project that doesn't have a sufficiently permissive license explicitly stated.

http://opensource.org/licenses

The MIT license is a common option, but whatever you pick please clearly state it in the readme file or add a new file to the project called LICENSE containing the text of the license in it.

Under current copyright law, if no license is stated, it is copyrighted.

Thanks :)

brian-beckett-hpe commented 9 years ago

+1! Licenses are essential to open source code. I'd love to use this library, but without a license I have to assume that you want to keep it to yourself :(

michel-kraemer commented 9 years ago

There's a file header in clamp.js and clamp.min.js saying Released under the WTFPL license.

Hope this helps! Michel

brian-beckett-hpe commented 9 years ago

Ah, that brilliant! I hadn't even thought to check the code... :-1: :sob:

I've sent you a pull request that puts the license in the readme file to help the rest of us who can't read :wink:

Thanks!

spectejb commented 5 years ago

@josephschmitt - Would you be open to adding a MIT license to your project? It could be as an option with WTFPL (or the only license choice).

The reason I ask is b/c unfortunately, WTFPL is on the banned list at my company because of the question re: whether it is even a valid license. Having a permissive license would be very helpful because then I could get the +1 to use your work!

Any help is greatly appreciated!