-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MIT License in standalone.js #1482
Comments
Thanks for creating this issue! I'll be sure to update my @scalar/api-reference once it is done |
You’re right, this wasn’t very clear. MIT is basically the "do whatever you want" license, so people do with the code whatever they want. But looking at the license it totally makes sense to expect it to be part of the output. What we did is to add a tiny header with a link to the LICENSE: Not released yet, but we’ll probably release it later this day. What do you think? Does this help? |
Oops, that automation wasn’t helpful. |
Thanks, I think it looks good :) I guess this is more up to you how you want to apply it. I think you might want to add a copyright notice, examples:
Look at how bootstrap does it and explains it: Or jQuery /*! jQuery v3.7.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/animatedSelector,-effects/Tween | (c) OpenJS Foundation and other contributors | jquery.org/license */ https://code.jquery.com/jquery-3.7.1.slim.min.js But I'm not an expert on this matter, it's more of a legal thing I guess, and it's up to you how to enforce it. I just didn't want to fall foul of the rules by accident 😅 |
Discussed in #1335
Originally posted by Alvie March 28, 2024
Hi!
I want to use this but I am a little confused about the MIT Licensing. From what I understand, is that I need to include the copyright notice and the license with the "software", but I am retrieving it with NPM and only exposing the standalone.js
I am not too familiar with how licenses work, I want to include the copyright notice and the license info, but do I need to do this separately. Perhaps it should be included in the standalone.js instead?
https://github.com/scalar/scalar/discussions?discussions_q=MIT+License+in+standalone.js%3F
Sorry if this is a very nooby question 😅
The text was updated successfully, but these errors were encountered: