Commit 46113b8
Normalize copyright headers to BSD + patents grant and drop the year (#1964)
Summary:
**Summary**
This PR follows up work started by niveditc on #1860 and suspended because of limitations with tooling. Let's give it another try.
- Remove all copyright years
- Correct copyright headers under `website/` referencing the MIT license
- Inline `All rights reserved.` on the same line of the copyright
- Fixes copyright headers of examples incorrectly using headers for source files
The PR also normalizes copyright headers to BSD with patents grant, as some files were later added with the newest MIT license applied to React and other OSS projects. We should discuss the switch to MIT for Draft.js as well.
**Test Plan**
Manual inspection of files + `yarn lint`
Pull Request resolved: facebookarchive/draft-js#1964
Differential Revision: D13562427
fbshipit-source-id: 6a15d29ff56a6340ee2a0f13f278b207f1761d281 parent 5205d67 commit 46113b8
File tree
284 files changed
+840
-849
lines changed- examples
- draft-0-10-0
- color
- convertFromHTML
- entity
- iframe
- link
- media
- plaintext
- playground/src
- rich
- tex
- js
- components
- data
- modifiers
- public
- tweet
- universal
- draft-0-9-1
- color
- convertFromHTML
- entity
- link
- media
- plaintext
- rich
- tex
- js
- components
- data
- modifiers
- public
- tweet
- universal
- meta/bundle-size-stats
- scripts
- jest
- src
- __mocks__
- component
- base
- __tests__
- contents
- __tests__
- exploration
- __tests__
- handlers
- composition
- drag
- edit
- commands
- selection
- utils
- exploration
- __tests__
- model
- constants
- decorators
- __tests__
- encoding
- __tests__
- entity
- __mocks__
- __tests__
- immutable
- __tests__
- keys
- modifier
- __tests__
- exploration
- __tests__
- paste
- __mocks__
- __tests__
- transaction
- __tests__
- exploration
- __tests__
- stubs
- website
- core
- pages/en
- static
- css
- lib
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
284 files changed
+840
-849
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
1 | 15 | | |
2 | 16 | | |
3 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
3 | 13 | | |
4 | 14 | | |
5 | 15 | | |
| |||
0 commit comments