Skip to content

Commit

Permalink
Add less restrictive license for code snippets (gaearon#557)
Browse files Browse the repository at this point in the history
* Create LICENSE-code-snippets

* Update LICENSE-posts

* Update LICENSE-code-snippets
  • Loading branch information
jkillian authored and gaearon committed Jan 12, 2020
1 parent e74a9bc commit ebec817
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions LICENSE-code-snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Code snippets included in posts on the site are licensed under more permissive terms than general post content.
Please see LICENSE-posts for the terms regarding general post content.

Code snippets may be used under the terms of the MIT License:

MIT License

Copyright (c) 2020 Dan Abramov and the contributors.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 2 additions & 0 deletions LICENSE-posts
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
Copyright (c) Dan Abramov and the contributors.
All rights reserved.

(Please see LICENSE-code-snippets for the terms regarding use of code snippets found in posts.)

0 comments on commit ebec817

Please sign in to comment.