Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

Commit 4c4465f

Browse files
rubennortefacebook-github-bot
authored andcommitted
Add @providesModule back to draft-js modules
Summary: Added providesModule back to draft-js modules to unbreak the build. Reviewed By: arcanis Differential Revision: D7535532 fbshipit-source-id: 2d87637b97c99c40856c022bbdb3f18cd42bdf59
1 parent 293f262 commit 4c4465f

File tree

152 files changed

+152
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+152
-0
lines changed

src/component/base/DraftEditor.react.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule DraftEditor.react
910
* @format
1011
* @flow
1112
* @preventMunge

src/component/base/DraftEditorPlaceholder.react.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule DraftEditorPlaceholder.react
910
* @format
1011
* @flow
1112
*/

src/component/base/DraftEditorProps.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule DraftEditorProps
910
* @format
1011
* @flow
1112
*/

src/component/base/DraftScrollPosition.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule DraftScrollPosition
910
* @format
1011
* @flow strict
1112
*/

src/component/base/DraftTextAlignment.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule DraftTextAlignment
910
* @format
1011
* @flow strict
1112
*/

src/component/contents/DraftEditorBlock.react.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule DraftEditorBlock.react
910
* @format
1011
* @flow
1112
*/

src/component/contents/DraftEditorContents-core.react.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule DraftEditorContents-core.react
910
* @format
1011
* @flow
1112
*/

src/component/contents/DraftEditorLeaf.react.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule DraftEditorLeaf.react
910
* @format
1011
* @flow
1112
*/

src/component/contents/DraftEditorTextNode.react.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule DraftEditorTextNode.react
910
* @format
1011
* @flow
1112
*/

src/component/contents/exploration/DraftEditorBlockNode.react.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule DraftEditorBlockNode.react
910
* @format
1011
* @flow
1112
*

src/component/contents/exploration/DraftEditorContentsExperimental.react.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule DraftEditorContentsExperimental.react
910
* @format
1011
* @flow
1112
*

src/component/contents/exploration/DraftEditorDecoratedLeaves.react.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule DraftEditorDecoratedLeaves.react
910
* @format
1011
* @flow
1112
*

src/component/contents/exploration/DraftEditorNode.react.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule DraftEditorNode.react
910
* @format
1011
* @flow
1112
*

src/component/handlers/DraftEditorModes.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule DraftEditorModes
910
* @format
1011
* @flow strict
1112
*/

src/component/handlers/composition/DraftEditorCompositionHandler.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule DraftEditorCompositionHandler
910
* @format
1011
* @flow
1112
*/

src/component/handlers/drag/DraftEditorDragHandler.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule DraftEditorDragHandler
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/DraftEditorEditHandler.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule DraftEditorEditHandler
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/commands/SecondaryClipboard.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule SecondaryClipboard
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/commands/keyCommandBackspaceToStartOfLine.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule keyCommandBackspaceToStartOfLine
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/commands/keyCommandBackspaceWord.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule keyCommandBackspaceWord
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/commands/keyCommandDeleteWord.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule keyCommandDeleteWord
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/commands/keyCommandInsertNewline.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule keyCommandInsertNewline
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/commands/keyCommandMoveSelectionToEndOfBlock.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule keyCommandMoveSelectionToEndOfBlock
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/commands/keyCommandMoveSelectionToStartOfBlock.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule keyCommandMoveSelectionToStartOfBlock
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/commands/keyCommandPlainBackspace.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule keyCommandPlainBackspace
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/commands/keyCommandPlainDelete.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule keyCommandPlainDelete
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/commands/keyCommandTransposeCharacters.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule keyCommandTransposeCharacters
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/commands/keyCommandUndo.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule keyCommandUndo
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/commands/moveSelectionBackward.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule moveSelectionBackward
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/commands/moveSelectionForward.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule moveSelectionForward
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/commands/removeTextWithStrategy.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule removeTextWithStrategy
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/editOnBeforeInput.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule editOnBeforeInput
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/editOnBlur.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule editOnBlur
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/editOnCompositionStart.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule editOnCompositionStart
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/editOnCopy.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule editOnCopy
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/editOnCut.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule editOnCut
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/editOnDragOver.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule editOnDragOver
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/editOnDragStart.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule editOnDragStart
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/editOnFocus.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule editOnFocus
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/editOnInput.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule editOnInput
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/editOnKeyDown.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule editOnKeyDown
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/editOnPaste.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule editOnPaste
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/editOnSelect.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule editOnSelect
910
* @format
1011
* @flow
1112
*/

src/component/handlers/edit/getFragmentFromSelection.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule getFragmentFromSelection
910
* @format
1011
* @flow
1112
*/

src/component/selection/DOMDerivedSelection.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule DOMDerivedSelection
910
* @format
1011
* @flow
1112
*/

src/component/selection/DraftOffsetKey.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule DraftOffsetKey
910
* @format
1011
* @flow
1112
*/

src/component/selection/DraftOffsetKeyPath.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule DraftOffsetKeyPath
910
* @format
1011
* @flow strict
1112
*/

src/component/selection/expandRangeToStartOfLine.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule expandRangeToStartOfLine
910
* @format
1011
* @flow
1112
*/

src/component/selection/findAncestorOffsetKey.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule findAncestorOffsetKey
910
* @format
1011
* @flow
1112
*/

src/component/selection/getDraftEditorSelection.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* LICENSE file in the root directory of this source tree. An additional grant
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*
9+
* @providesModule getDraftEditorSelection
910
* @format
1011
* @flow
1112
*/

0 commit comments

Comments
 (0)