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

Commit 93a90a9

Browse files
panagosg7facebook-github-bot
authored andcommitted
v0.79.1 in www
Reviewed By: gabelevi Differential Revision: D9390004 fbshipit-source-id: f1bff3f8db0c964b1712c1af9e142e86735d0cb7
1 parent a6c9ffd commit 93a90a9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/component/base/DraftEditor.react.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,9 @@ class DraftEditor extends React.Component<DraftEditorProps, State> {
261261
*/
262262
_buildHandler(eventName: string): Function {
263263
const flushControlled: (fn: Function) => void =
264-
// $FlowFixMe flushControlled is an unstable feature, so not Flow typed
264+
/* $FlowFixMe(>=0.79.1 site=www) This comment suppresses an error found
265+
* when Flow v0.79 was deployed. To see the error delete this comment and
266+
* run Flow. */
265267
ReactDOM.unstable_flushControlled;
266268
// Wrap event handlers in `flushControlled`. In sync mode, this is
267269
// effetively a no-op. In async mode, this ensures all updates scheduled

src/component/contents/DraftEditorLeaf.react.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ class DraftEditorLeaf extends React.Component<Props> {
103103

104104
if (child.nodeType === Node.TEXT_NODE) {
105105
targetNode = child;
106-
// $FlowFixMe child may also be an Element, not just Node
106+
/* $FlowFixMe(>=0.79.1 site=www) This comment suppresses an error found
107+
* when Flow v0.79 was deployed. To see the error delete this comment and
108+
* run Flow. */
107109
} else if (child.tagName === 'BR') {
108110
targetNode = node;
109111
} else {

0 commit comments

Comments
 (0)