Unbreak tests

Summary: The recent commits for RecyclerViewBackedScrollView introduced a bunch of Flow errors.

Disable Flow for now in `ReactNativeViewPool` as it looks like that file doesn't use Flow :)

public

Reviewed By: gabelevi

Differential Revision: D2679974

fb-gh-sync-id: 71512f403e3fa271f6c0fa1a64e877ca1750f675
This commit is contained in:
Martin Konicek 2015-11-20 09:51:58 -08:00 committed by facebook-github-bot-6
parent a7c4ed106b
commit 155a609781
2 changed files with 3 additions and 4 deletions

View File

@ -346,7 +346,7 @@ var ScrollView = React.createClass({
);
},
handleScroll: function(e: Event) {
handleScroll: function(e: Object) {
if (__DEV__) {
if (this.props.onScroll && !this.props.scrollEventThrottle) {
console.log(
@ -366,8 +366,8 @@ var ScrollView = React.createClass({
this.scrollResponderHandleScroll(e);
},
_handleContentOnLayout: function(event) {
var {width, height} = event.nativeEvent.layout;
_handleContentOnLayout: function(e: Object) {
var {width, height} = e.nativeEvent.layout;
this.props.onContentSizeChange && this.props.onContentSizeChange(width, height);
},

View File

@ -7,7 +7,6 @@
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ReactNativeViewPool
* @flow
*/
'use strict';