@@ -203,15 +203,9 @@ const TouchableHighlight = ((createReactClass({
203203 getDefaultProps : ( ) => DEFAULT_PROPS ,
204204
205205 getInitialState : function ( ) {
206- /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an
207- * error found when Flow v0.89 was deployed. To see the error, delete this
208- * comment and run Flow. */
209206 this . _isMounted = false ;
210207 if ( this . props . testOnly_pressed ) {
211208 return {
212- /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an
213- * error found when Flow v0.89 was deployed. To see the error, delete
214- * this comment and run Flow. */
215209 ...this . touchableGetInitialState ( ) ,
216210 extraChildStyle : {
217211 opacity : this . props . activeOpacity ,
@@ -222,9 +216,6 @@ const TouchableHighlight = ((createReactClass({
222216 } ;
223217 } else {
224218 return {
225- /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an
226- * error found when Flow v0.89 was deployed. To see the error, delete
227- * this comment and run Flow. */
228219 ...this . touchableGetInitialState ( ) ,
229220 extraChildStyle : null ,
230221 extraUnderlayStyle : null ,
@@ -233,21 +224,12 @@ const TouchableHighlight = ((createReactClass({
233224 } ,
234225
235226 componentDidMount : function ( ) {
236- /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an
237- * error found when Flow v0.89 was deployed. To see the error, delete this
238- * comment and run Flow. */
239227 this . _isMounted = true ;
240228 ensurePositiveDelayProps ( this . props ) ;
241229 } ,
242230
243231 componentWillUnmount : function ( ) {
244- /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an
245- * error found when Flow v0.89 was deployed. To see the error, delete this
246- * comment and run Flow. */
247232 this . _isMounted = false ;
248- /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an
249- * error found when Flow v0.89 was deployed. To see the error, delete this
250- * comment and run Flow. */
251233 clearTimeout ( this . _hideTimeout ) ;
252234 } ,
253235
@@ -265,22 +247,13 @@ const TouchableHighlight = ((createReactClass({
265247 * defined on your component.
266248 */
267249 touchableHandleActivePressIn : function ( e : PressEvent ) {
268- /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an
269- * error found when Flow v0.89 was deployed. To see the error, delete this
270- * comment and run Flow. */
271250 clearTimeout ( this . _hideTimeout ) ;
272- /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an
273- * error found when Flow v0.89 was deployed. To see the error, delete this
274- * comment and run Flow. */
275251 this . _hideTimeout = null ;
276252 this . _showUnderlay ( ) ;
277253 this . props . onPressIn && this . props . onPressIn ( e ) ;
278254 } ,
279255
280256 touchableHandleActivePressOut : function ( e : PressEvent ) {
281- /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an
282- * error found when Flow v0.89 was deployed. To see the error, delete this
283- * comment and run Flow. */
284257 if ( ! this . _hideTimeout ) {
285258 this . _hideUnderlay ( ) ;
286259 }
@@ -302,15 +275,9 @@ const TouchableHighlight = ((createReactClass({
302275 } ,
303276
304277 touchableHandlePress : function ( e : PressEvent ) {
305- /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an
306- * error found when Flow v0.89 was deployed. To see the error, delete this
307- * comment and run Flow. */
308278 clearTimeout ( this . _hideTimeout ) ;
309279 if ( ! Platform . isTV ) {
310280 this . _showUnderlay ( ) ;
311- /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an
312- * error found when Flow v0.89 was deployed. To see the error, delete
313- * this comment and run Flow. */
314281 this . _hideTimeout = setTimeout (
315282 this . _hideUnderlay ,
316283 this . props . delayPressOut ,
@@ -344,9 +311,6 @@ const TouchableHighlight = ((createReactClass({
344311 } ,
345312
346313 _showUnderlay : function ( ) {
347- /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an
348- * error found when Flow v0.89 was deployed. To see the error, delete this
349- * comment and run Flow. */
350314 if ( ! this . _isMounted || ! this . _hasPressHandler ( ) ) {
351315 return ;
352316 }
@@ -362,13 +326,7 @@ const TouchableHighlight = ((createReactClass({
362326 } ,
363327
364328 _hideUnderlay : function ( ) {
365- /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an
366- * error found when Flow v0.89 was deployed. To see the error, delete this
367- * comment and run Flow. */
368329 clearTimeout ( this . _hideTimeout ) ;
369- /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an
370- * error found when Flow v0.89 was deployed. To see the error, delete this
371- * comment and run Flow. */
372330 this . _hideTimeout = null ;
373331 if ( this . props . testOnly_pressed ) {
374332 return ;
@@ -409,31 +367,13 @@ const TouchableHighlight = ((createReactClass({
409367 isTVSelectable = { true }
410368 tvParallaxProperties = { this . props . tvParallaxProperties }
411369 hasTVPreferredFocus = { this . props . hasTVPreferredFocus }
412- /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an
413- * error found when Flow v0.89 was deployed. To see the error, delete
414- * this comment and run Flow. */
415370 onStartShouldSetResponder = { this . touchableHandleStartShouldSetResponder }
416371 onResponderTerminationRequest = {
417- /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses
418- * an error found when Flow v0.89 was deployed. To see the error,
419- * delete this comment and run Flow. */
420372 this . touchableHandleResponderTerminationRequest
421373 }
422- /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an
423- * error found when Flow v0.89 was deployed. To see the error, delete
424- * this comment and run Flow. */
425374 onResponderGrant = { this . touchableHandleResponderGrant }
426- /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an
427- * error found when Flow v0.89 was deployed. To see the error, delete
428- * this comment and run Flow. */
429375 onResponderMove = { this . touchableHandleResponderMove }
430- /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an
431- * error found when Flow v0.89 was deployed. To see the error, delete
432- * this comment and run Flow. */
433376 onResponderRelease = { this . touchableHandleResponderRelease }
434- /* $FlowFixMe(>=0.89.0 site=react_native_fb) This comment suppresses an
435- * error found when Flow v0.89 was deployed. To see the error, delete
436- * this comment and run Flow. */
437377 onResponderTerminate = { this . touchableHandleResponderTerminate }
438378 nativeID = { this . props . nativeID }
439379 testID = { this . props . testID } >
0 commit comments