Skip to content
Permalink
Browse files

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: #1964

Differential Revision: D13562427

fbshipit-source-id: 6a15d29ff56a6340ee2a0f13f278b207f1761d28
  • Loading branch information...
claudiopro authored and facebook-github-bot committed Jan 3, 2019
1 parent fb7882b commit 642aa119af114e8db590fe76cd2f2b84e118471c
Showing with 840 additions and 849 deletions.
  1. +1 −2 .eslintrc.js
  2. +1 −1 examples/draft-0-10-0/color/color.html
  3. +1 −1 examples/draft-0-10-0/convertFromHTML/convert.html
  4. +1 −1 examples/draft-0-10-0/entity/entity.html
  5. +1 −1 examples/draft-0-10-0/iframe/iframe.html
  6. +1 −1 examples/draft-0-10-0/link/link.html
  7. +1 −1 examples/draft-0-10-0/media/media.html
  8. +1 −1 examples/draft-0-10-0/plaintext/plaintext.html
  9. +14 −0 examples/draft-0-10-0/playground/src/App.css
  10. +11 −1 examples/draft-0-10-0/playground/src/App.js
  11. +14 −0 examples/draft-0-10-0/playground/src/App.test.js
  12. +11 −1 examples/draft-0-10-0/playground/src/DraftJsPlaygroundContainer.css
  13. +11 −1 examples/draft-0-10-0/playground/src/DraftJsPlaygroundContainer.react.js
  14. +14 −0 examples/draft-0-10-0/playground/src/DraftJsRichEditorExample.css
  15. +11 −1 examples/draft-0-10-0/playground/src/DraftJsRichEditorExample.js
  16. +14 −0 examples/draft-0-10-0/playground/src/GkManager.js
  17. +14 −0 examples/draft-0-10-0/playground/src/index.css
  18. +14 −0 examples/draft-0-10-0/playground/src/index.js
  19. +14 −0 examples/draft-0-10-0/playground/src/registerServiceWorker.js
  20. +14 −0 examples/draft-0-10-0/rich/RichEditor.css
  21. +1 −1 examples/draft-0-10-0/rich/rich.html
  22. +1 −1 examples/draft-0-10-0/tex/js/app.js
  23. +1 −1 examples/draft-0-10-0/tex/js/components/TeXBlock.js
  24. +1 −1 examples/draft-0-10-0/tex/js/components/TeXEditorExample.js
  25. +1 −1 examples/draft-0-10-0/tex/js/data/content.js
  26. +1 −1 examples/draft-0-10-0/tex/js/modifiers/insertTeXBlock.js
  27. +1 −1 examples/draft-0-10-0/tex/js/modifiers/removeTeXBlock.js
  28. +14 −0 examples/draft-0-10-0/tex/public/TeXEditor.css
  29. +13 −0 examples/draft-0-10-0/tex/public/index.html
  30. +1 −1 examples/draft-0-10-0/tex/server.js
  31. +1 −1 examples/draft-0-10-0/tweet/tweet.html
  32. +9 −5 examples/draft-0-10-0/universal/client.js
  33. +9 −5 examples/draft-0-10-0/universal/editor.js
  34. +9 −5 examples/draft-0-10-0/universal/index.js
  35. +1 −1 examples/draft-0-9-1/color/color.html
  36. +1 −1 examples/draft-0-9-1/convertFromHTML/convert.html
  37. +1 −1 examples/draft-0-9-1/entity/entity.html
  38. +1 −1 examples/draft-0-9-1/link/link.html
  39. +1 −1 examples/draft-0-9-1/media/media.html
  40. +1 −1 examples/draft-0-9-1/plaintext/plaintext.html
  41. +14 −0 examples/draft-0-9-1/rich/RichEditor.css
  42. +1 −1 examples/draft-0-9-1/rich/rich.html
  43. +1 −1 examples/draft-0-9-1/tex/js/app.js
  44. +1 −1 examples/draft-0-9-1/tex/js/components/TeXBlock.js
  45. +1 −1 examples/draft-0-9-1/tex/js/components/TeXEditorExample.js
  46. +1 −1 examples/draft-0-9-1/tex/js/data/content.js
  47. +1 −1 examples/draft-0-9-1/tex/js/modifiers/insertTeXBlock.js
  48. +1 −1 examples/draft-0-9-1/tex/js/modifiers/removeTeXBlock.js
  49. +14 −0 examples/draft-0-9-1/tex/public/TeXEditor.css
  50. +13 −0 examples/draft-0-9-1/tex/public/index.html
  51. +1 −1 examples/draft-0-9-1/tex/server.js
  52. +1 −1 examples/draft-0-9-1/tweet/tweet.html
  53. +9 −5 examples/draft-0-9-1/universal/client.js
  54. +9 −5 examples/draft-0-9-1/universal/editor.js
  55. +9 −5 examples/draft-0-9-1/universal/index.js
  56. +2 −4 gulpfile.js
  57. +1 −1 meta/bundle-size-stats/Draft.js.json
  58. +1 −1 meta/bundle-size-stats/Draft.min.js.json
  59. +8 −0 prettier.config.js
  60. +1 −2 scripts/jest/hasteImpl.js
  61. +1 −2 scripts/jest/preprocessor.js
  62. +1 −2 scripts/jest/shims.js
  63. +1 −2 scripts/module-map.js
  64. +1 −2 src/Draft.js
  65. +1 −2 src/__mocks__/generateRandomKey.js
  66. +6 −0 src/component/base/DraftEditor.css
  67. +1 −2 src/component/base/DraftEditor.react.js
  68. +6 −0 src/component/base/DraftEditorPlaceholder.css
  69. +1 −2 src/component/base/DraftEditorPlaceholder.react.js
  70. +1 −2 src/component/base/DraftEditorProps.js
  71. +1 −2 src/component/base/DraftScrollPosition.js
  72. +1 −2 src/component/base/DraftTextAlignment.js
  73. +1 −2 src/component/base/__tests__/DraftEditor.react-test.js
  74. +1 −2 src/component/contents/DraftEditorBlock.react.js
  75. +1 −2 src/component/contents/DraftEditorContents-core.react.js
  76. +1 −2 src/component/contents/DraftEditorLeaf.react.js
  77. +1 −2 src/component/contents/DraftEditorTextNode.react.js
  78. +1 −2 src/component/contents/__tests__/DraftEditorBlock.react-test.js
  79. +1 −2 src/component/contents/__tests__/DraftEditorContents.react-test.js
  80. +1 −2 src/component/contents/__tests__/DraftEditorTextNode-test.js
  81. +1 −2 src/component/contents/exploration/DraftEditorBlockNode.react.js
  82. +1 −2 src/component/contents/exploration/DraftEditorContentsExperimental.react.js
  83. +1 −2 src/component/contents/exploration/DraftEditorDecoratedLeaves.react.js
  84. +1 −2 src/component/contents/exploration/DraftEditorNode.react.js
  85. +1 −2 src/component/contents/exploration/__tests__/DraftEditorBlockNode.react-test.js
  86. +1 −2 src/component/contents/exploration/__tests__/DraftEditorContentsExperimental.react-test.js
  87. +1 −2 src/component/handlers/DraftEditorModes.js
  88. +1 −2 src/component/handlers/composition/DraftEditorCompositionHandler.js
  89. +1 −2 src/component/handlers/drag/DraftEditorDragHandler.js
  90. +1 −2 src/component/handlers/edit/DraftEditorEditHandler.js
  91. +1 −2 src/component/handlers/edit/commands/SecondaryClipboard.js
  92. +1 −2 src/component/handlers/edit/commands/keyCommandBackspaceToStartOfLine.js
  93. +1 −2 src/component/handlers/edit/commands/keyCommandBackspaceWord.js
  94. +1 −2 src/component/handlers/edit/commands/keyCommandDeleteWord.js
  95. +1 −2 src/component/handlers/edit/commands/keyCommandInsertNewline.js
  96. +1 −2 src/component/handlers/edit/commands/keyCommandMoveSelectionToEndOfBlock.js
  97. +1 −2 src/component/handlers/edit/commands/keyCommandMoveSelectionToStartOfBlock.js
  98. +1 −2 src/component/handlers/edit/commands/keyCommandPlainBackspace.js
  99. +1 −2 src/component/handlers/edit/commands/keyCommandPlainDelete.js
  100. +1 −2 src/component/handlers/edit/commands/keyCommandTransposeCharacters.js
  101. +1 −2 src/component/handlers/edit/commands/keyCommandUndo.js
  102. +1 −2 src/component/handlers/edit/commands/moveSelectionBackward.js
  103. +1 −2 src/component/handlers/edit/commands/moveSelectionForward.js
  104. +1 −2 src/component/handlers/edit/commands/removeTextWithStrategy.js
  105. +1 −2 src/component/handlers/edit/editOnBeforeInput.js
  106. +1 −2 src/component/handlers/edit/editOnBlur.js
  107. +1 −2 src/component/handlers/edit/editOnCompositionStart.js
  108. +1 −2 src/component/handlers/edit/editOnCopy.js
  109. +1 −2 src/component/handlers/edit/editOnCut.js
  110. +1 −2 src/component/handlers/edit/editOnDragOver.js
  111. +1 −2 src/component/handlers/edit/editOnDragStart.js
  112. +1 −2 src/component/handlers/edit/editOnFocus.js
  113. +1 −2 src/component/handlers/edit/editOnInput.js
  114. +1 −2 src/component/handlers/edit/editOnKeyDown.js
  115. +1 −2 src/component/handlers/edit/editOnPaste.js
  116. +1 −2 src/component/handlers/edit/editOnSelect.js
  117. +1 −2 src/component/handlers/edit/getFragmentFromSelection.js
  118. +1 −2 src/component/selection/DOMDerivedSelection.js
  119. +1 −2 src/component/selection/DraftOffsetKey.js
  120. +1 −2 src/component/selection/DraftOffsetKeyPath.js
  121. +1 −2 src/component/selection/expandRangeToStartOfLine.js
  122. +1 −2 src/component/selection/findAncestorOffsetKey.js
  123. +1 −2 src/component/selection/getDraftEditorSelection.js
  124. +1 −2 src/component/selection/getDraftEditorSelectionWithNodes.js
  125. +1 −2 src/component/selection/getRangeBoundingClientRect.js
  126. +1 −2 src/component/selection/getRangeClientRects.js
  127. +1 −2 src/component/selection/getSampleSelectionMocksForTesting.js
  128. +1 −2 src/component/selection/getSampleSelectionMocksForTestingNestedBlocks.js
  129. +1 −2 src/component/selection/getSelectionOffsetKeyForNode.js
  130. +1 −2 src/component/selection/getUpdatedSelectionState.js
  131. +1 −2 src/component/selection/getVisibleSelectionRect.js
  132. +1 −2 src/component/selection/isSelectionAtLeafStart.js
  133. +1 −2 src/component/selection/setDraftEditorSelection.js
  134. +6 −0 src/component/utils/DraftStyleDefault.css
  135. +1 −2 src/component/utils/KeyBindingUtil.js
  136. +1 −2 src/component/utils/_DraftTestHelper.js
  137. +1 −2 src/component/utils/exploration/DraftTreeAdapter.js
  138. +1 −2 src/component/utils/exploration/DraftTreeInvariants.js
  139. +1 −2 src/component/utils/exploration/__tests__/DraftTreeAdapter-test.js
  140. +1 −2 src/component/utils/exploration/__tests__/DraftTreeInvariants-test.js
  141. +1 −2 src/component/utils/getDefaultKeyBinding.js
  142. +1 −2 src/component/utils/getTextContentFromFiles.js
  143. +1 −2 src/component/utils/isEventHandled.js
  144. +1 −2 src/component/utils/isSoftNewlineEvent.js
  145. +1 −2 src/component/utils/splitTextIntoTextBlocks.js
  146. +1 −2 src/model/constants/DraftBlockType.js
  147. +1 −2 src/model/constants/DraftDragType.js
  148. +1 −2 src/model/constants/DraftEditorCommand.js
  149. +1 −2 src/model/constants/DraftHandleValue.js
  150. +1 −2 src/model/constants/DraftInsertionType.js
  151. +1 −2 src/model/constants/DraftRemovalDirection.js
  152. +1 −2 src/model/decorators/CompositeDraftDecorator.js
  153. +1 −2 src/model/decorators/DraftDecorator.js
  154. +1 −2 src/model/decorators/DraftDecoratorType.js
  155. +1 −2 src/model/decorators/__tests__/CompositeDraftDecorator-test.js
  156. +1 −2 src/model/encoding/DraftStringKey.js
  157. +1 −2 src/model/encoding/EntityRange.js
  158. +1 −2 src/model/encoding/InlineStyleRange.js
  159. +1 −2 src/model/encoding/RawDraftContentBlock.js
  160. +1 −2 src/model/encoding/RawDraftContentState.js
  161. +1 −2 src/model/encoding/RawDraftEntity.js
  162. +1 −2 src/model/encoding/__tests__/convertFromDraftStateToRaw-test.js
  163. +1 −2 src/model/encoding/__tests__/convertFromHTMLToContentBlocks-test.js
  164. +1 −2 src/model/encoding/__tests__/convertFromHTMLToContentBlocks2-test.js
  165. +1 −2 src/model/encoding/__tests__/convertFromRawToDraftState-test.js
  166. +1 −2 src/model/encoding/__tests__/decodeEntityRanges-test.js
  167. +1 −2 src/model/encoding/__tests__/decodeInlineStyleRanges-test.js
  168. +1 −2 src/model/encoding/__tests__/encodeEntityRanges-test.js
  169. +1 −2 src/model/encoding/__tests__/encodeInlineStyleRanges-test.js
  170. +1 −2 src/model/encoding/__tests__/sanitizeDraftText-test.js
  171. +1 −2 src/model/encoding/convertFromDraftStateToRaw.js
  172. +1 −2 src/model/encoding/convertFromHTMLToContentBlocks.js
  173. +1 −2 src/model/encoding/convertFromHTMLToContentBlocks2.js
  174. +1 −2 src/model/encoding/convertFromRawToDraftState.js
  175. +1 −2 src/model/encoding/createCharacterList.js
  176. +1 −2 src/model/encoding/decodeEntityRanges.js
  177. +1 −2 src/model/encoding/decodeInlineStyleRanges.js
  178. +1 −2 src/model/encoding/encodeEntityRanges.js
  179. +1 −2 src/model/encoding/encodeInlineStyleRanges.js
  180. +1 −2 src/model/encoding/sanitizeDraftText.js
  181. +1 −2 src/model/entity/DraftEntity.js
  182. +1 −2 src/model/entity/DraftEntityInstance.js
  183. +1 −2 src/model/entity/DraftEntityMutability.js
  184. +1 −2 src/model/entity/DraftEntityType.js
  185. +1 −2 src/model/entity/__mocks__/DraftEntity.js
  186. +1 −2 src/model/entity/__tests__/DraftEntity-test.js
  187. +1 −2 src/model/entity/__tests__/getEntityKeyForSelection-test.js
  188. +1 −2 src/model/entity/getEntityKeyForSelection.js
  189. +1 −2 src/model/entity/getTextAfterNearestEntity.js
  190. +1 −2 src/model/immutable/BlockMap.js
  191. +1 −2 src/model/immutable/BlockMapBuilder.js
  192. +1 −2 src/model/immutable/BlockNode.js
  193. +1 −2 src/model/immutable/BlockNodeRecord.js
  194. +1 −2 src/model/immutable/BlockTree.js
  195. +1 −2 src/model/immutable/CharacterMetadata.js
  196. +1 −2 src/model/immutable/ContentBlock.js
  197. +1 −2 src/model/immutable/ContentBlockNode.js
  198. +1 −2 src/model/immutable/ContentState.js
  199. +1 −2 src/model/immutable/DefaultDraftBlockRenderMap.js
  200. +1 −2 src/model/immutable/DefaultDraftInlineStyle.js
  201. +1 −2 src/model/immutable/DraftBlockRenderConfig.js
  202. +1 −2 src/model/immutable/DraftBlockRenderMap.js
  203. +1 −2 src/model/immutable/DraftInlineStyle.js
  204. +1 −2 src/model/immutable/EditorBidiService.js
  205. +1 −2 src/model/immutable/EditorChangeType.js
  206. +1 −2 src/model/immutable/EditorState.js
  207. +1 −2 src/model/immutable/EditorStateCreationConfig.js
  208. +1 −2 src/model/immutable/EntityMap.js
  209. +1 −2 src/model/immutable/SampleDraftInlineStyle.js
  210. +1 −2 src/model/immutable/SelectionState.js
  211. +1 −2 src/model/immutable/__tests__/BlockTree-test.js
  212. +1 −2 src/model/immutable/__tests__/CharacterMetadata-test.js
  213. +1 −2 src/model/immutable/__tests__/ContentBlock-test.js
  214. +2 −3 src/model/immutable/__tests__/ContentBlockNode-test.js
  215. +1 −2 src/model/immutable/__tests__/ContentState-test.js
  216. +1 −2 src/model/immutable/__tests__/EditorBidiService-test.js
  217. +1 −2 src/model/immutable/__tests__/EditorState-test.js
  218. +1 −2 src/model/immutable/__tests__/SelectionState-test.js
  219. +1 −2 src/model/immutable/__tests__/findRangesImmutable-test.js
  220. +1 −2 src/model/immutable/findRangesImmutable.js
  221. +1 −2 src/model/keys/generateRandomKey.js
  222. +1 −2 src/model/modifier/AtomicBlockUtils.js
  223. +1 −2 src/model/modifier/DraftEntitySegments.js
  224. +1 −2 src/model/modifier/DraftModifier.js
  225. +1 −2 src/model/modifier/DraftRange.js
  226. +1 −2 src/model/modifier/DraftRemovableWord.js
  227. +1 −2 src/model/modifier/RichTextEditorUtil.js
  228. +1 −2 src/model/modifier/RichTextUtils.js
  229. +1 −2 src/model/modifier/__tests__/AtomicBlockUtils-test.js
  230. +1 −2 src/model/modifier/__tests__/DraftRemovableWord-test.js
  231. +1 −2 src/model/modifier/__tests__/RichTextEditorUtil-test.js
  232. +1 −2 src/model/modifier/exploration/DraftTreeOperations.js
  233. +1 −2 src/model/modifier/exploration/NestedRichTextEditorUtil.js
  234. +1 −2 src/model/modifier/exploration/__tests__/DraftTreeOperations-test.js
  235. +1 −2 src/model/modifier/exploration/__tests__/NestedRichTextEditorUtil-test.js
  236. +1 −2 src/model/modifier/getCharacterRemovalRange.js
  237. +1 −2 src/model/modifier/getRangesForDraftEntity.js
  238. +1 −2 src/model/paste/DraftPasteProcessor.js
  239. +1 −2 src/model/paste/__mocks__/getSafeBodyFromHTML.js
  240. +1 −2 src/model/paste/__tests__/DraftPasteProcessor-test.js
  241. +1 −2 src/model/paste/getSafeBodyFromHTML.js
  242. +1 −2 src/model/transaction/ContentStateInlineStyle.js
  243. +1 −2 src/model/transaction/__tests__/ContentStateInlineStyle-test.js
  244. +1 −2 src/model/transaction/__tests__/applyEntityToContentBlock-test.js
  245. +1 −2 src/model/transaction/__tests__/applyEntityToContentState-test.js
  246. +1 −2 src/model/transaction/__tests__/getContentStateFragment-test.js
  247. +1 −2 src/model/transaction/__tests__/insertFragmentIntoContentState-test.js
  248. +1 −2 src/model/transaction/__tests__/insertIntoList-test.js
  249. +1 −2 src/model/transaction/__tests__/insertTextIntoContentState-test.js
  250. +1 −2 src/model/transaction/__tests__/moveBlockInContentState-test.js
  251. +1 −2 src/model/transaction/__tests__/randomizeBlockMapKeys-test.js
  252. +1 −2 src/model/transaction/__tests__/removeEntitiesAtEdges-test.js
  253. +1 −2 src/model/transaction/__tests__/removeRangeFromContentState-test.js
  254. +1 −2 src/model/transaction/__tests__/splitBlockInContentState-test.js
  255. +1 −2 src/model/transaction/addEntityToContentState.js
  256. +1 −2 src/model/transaction/addEntityToEntityMap.js
  257. +1 −2 src/model/transaction/adjustBlockDepthForContentState.js
  258. +1 −2 src/model/transaction/applyEntityToContentBlock.js
  259. +1 −2 src/model/transaction/applyEntityToContentState.js
  260. +1 −2 src/model/transaction/createEntityInContentState.js
  261. +1 −2 src/model/transaction/exploration/__tests__/getNextDelimiterBlockKey-test.js
  262. +1 −2 src/model/transaction/exploration/getNextDelimiterBlockKey.js
  263. +1 −2 src/model/transaction/getContentStateFragment.js
  264. +1 −2 src/model/transaction/getSampleStateForTesting.js
  265. +1 −2 src/model/transaction/insertFragmentIntoContentState.js
  266. +1 −2 src/model/transaction/insertIntoList.js
  267. +1 −2 src/model/transaction/insertTextIntoContentState.js
  268. +1 −2 src/model/transaction/modifyBlockForContentState.js
  269. +1 −2 src/model/transaction/moveBlockInContentState.js
  270. +1 −2 src/model/transaction/randomizeBlockMapKeys.js
  271. +1 −2 src/model/transaction/removeEntitiesAtEdges.js
  272. +1 −2 src/model/transaction/removeRangeFromContentState.js
  273. +1 −2 src/model/transaction/splitBlockInContentState.js
  274. +1 −2 src/model/transaction/updateEntityDataInContentState.js
  275. +1 −2 src/stubs/ComposedEntityMutability.js
  276. +1 −2 src/stubs/DraftEffects.js
  277. +1 −2 src/stubs/DraftJsDebugLogging.js
  278. +4 −3 website/core/Footer.js
  279. +4 −3 website/pages/en/index.js
  280. +4 −3 website/siteConfig.js
  281. +1 −2 website/static/css/Draft.css
  282. +8 −0 website/static/css/RichEditor.css
  283. +8 −0 website/static/css/custom.css
  284. +255 −334 website/static/lib/Draft.js
@@ -1,6 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
@@ -1,5 +1,5 @@
<!--
Copyright (c) 2013-present, Facebook, Inc. All rights reserved.
Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
This file provided by Facebook is for non-commercial testing and evaluation
purposes only. Facebook reserves all rights not expressly granted.
@@ -1,5 +1,5 @@
<!--
Copyright (c) 2013-present, Facebook, Inc. All rights reserved.
Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
This file provided by Facebook is for non-commercial testing and evaluation
purposes only. Facebook reserves all rights not expressly granted.
@@ -1,5 +1,5 @@
<!--
Copyright (c) 2013-present, Facebook, Inc. All rights reserved.
Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
This file provided by Facebook is for non-commercial testing and evaluation
purposes only. Facebook reserves all rights not expressly granted.
@@ -1,5 +1,5 @@
<!--
Copyright (c) 2013-present, Facebook, Inc. All rights reserved.
Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
This file provided by Facebook is for non-commercial testing and evaluation
purposes only. Facebook reserves all rights not expressly granted.
@@ -1,5 +1,5 @@
<!--
Copyright (c) 2013-present, Facebook, Inc. All rights reserved.
Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
This file provided by Facebook is for non-commercial testing and evaluation
purposes only. Facebook reserves all rights not expressly granted.
@@ -1,5 +1,5 @@
<!--
Copyright (c) 2013-present, Facebook, Inc. All rights reserved.
Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
This file provided by Facebook is for non-commercial testing and evaluation
purposes only. Facebook reserves all rights not expressly granted.
@@ -1,5 +1,5 @@
<!--
Copyright (c) 2013-present, Facebook, Inc. All rights reserved.
Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
This file provided by Facebook is for non-commercial testing and evaluation
purposes only. Facebook reserves all rights not expressly granted.
@@ -1,3 +1,17 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
*
* 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
* FACEBOOK 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.
*/

:root {
--nav-main-height: 50px;
--main-background: #f7f7f7;
@@ -1,5 +1,15 @@
/**
* Copyright 2004-present Facebook. All Rights Reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
*
* 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
* FACEBOOK 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.
*
* @flow
* @format
@@ -1,3 +1,17 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
*
* 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
* FACEBOOK 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.
*/

import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
@@ -1,5 +1,15 @@
/**
* Copyright 2004-present Facebook. All Rights Reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
*
* 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
* FACEBOOK 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.
*/


@@ -1,5 +1,15 @@
/**
* Copyright 2004-present Facebook. All Rights Reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
*
* 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
* FACEBOOK 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.
*
* @flow
* @format
@@ -1,3 +1,17 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
*
* 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
* FACEBOOK 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.
*/

.DraftJsPlaygroundContainer-editor {
padding: 0;
background: #fff;
@@ -1,5 +1,15 @@
/**
* Copyright 2004-present Facebook. All Rights Reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
*
* 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
* FACEBOOK 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.
*
* @flow
* @format
@@ -1,3 +1,17 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
*
* 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
* FACEBOOK 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.
*/

import querystring from 'querystring';

const QUERY_STRINGS = querystring.parse(window.location.search.substring(1));
@@ -1,3 +1,17 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
*
* 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
* FACEBOOK 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.
*/

body {
margin: 0;
padding: 0;
@@ -1,3 +1,17 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
*
* 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
* FACEBOOK 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.
*/

import GkManager from './GkManager';
import React from 'react';
import ReactDOM from 'react-dom';
@@ -1,3 +1,17 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
*
* 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
* FACEBOOK 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.
*/

// In production, we register a service worker to serve assets from local cache.

// This lets the app load faster on subsequent visits in production, and gives
@@ -1,3 +1,17 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
*
* 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
* FACEBOOK 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.
*/

.RichEditor-root {
background: #fff;
border: 1px solid #ddd;
@@ -1,5 +1,5 @@
<!--
Copyright (c) 2013-present, Facebook, Inc. All rights reserved.
Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
This file provided by Facebook is for non-commercial testing and evaluation
purposes only. Facebook reserves all rights not expressly granted.
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc. All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc. All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc. All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc. All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc. All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc. All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
@@ -1,3 +1,17 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
*
* 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
* FACEBOOK 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.
*/

.TeXEditor-root {
font-family: 'Century Schoolbook', serif;
-webkit-font-smoothing: antialiased;
@@ -1,3 +1,16 @@
<!--
Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
This file provided by Facebook is for non-commercial testing and evaluation
purposes only. Facebook reserves all rights not expressly granted.
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
FACEBOOK 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.
-->
<!DOCTYPE html>
<html>
<head>
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2013-present, Facebook, Inc. All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
@@ -1,5 +1,5 @@
<!--
Copyright (c) 2013-present, Facebook, Inc. All rights reserved.
Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
This file provided by Facebook is for non-commercial testing and evaluation
purposes only. Facebook reserves all rights not expressly granted.
@@ -1,11 +1,15 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This file provided by Facebook is for non-commercial testing and evaluation
* purposes only. Facebook reserves all rights not expressly granted.
*
* 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
* FACEBOOK 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.
*/

'use strict';
Oops, something went wrong.

0 comments on commit 642aa11

Please sign in to comment.
You can’t perform that action at this time.