Fix the suppress comment regex for react_native

Reviewed By: davidaurelio

Differential Revision: D4435640

fbshipit-source-id: c680aee6931979859f04c0dca47037ba6f6cba73
This commit is contained in:
Gabe Levi
2017-01-19 10:24:12 -08:00
committed by Facebook Github Bot
parent 35bcf1bacc
commit e2ce98b7c6
15 changed files with 80 additions and 74 deletions

View File

@@ -393,9 +393,9 @@ class XMLHttpRequest extends EventTarget(...XHR_EVENTS) {
(this._subscriptions || []).forEach(sub => {
sub.remove();
});
/* $FlowFixMe(>=0.38.0 site=react_native_fb) - Flow error detected during
* the deployment of v0.38.0. To see the error, remove this comment and run
* flow */
/* $FlowFixMe(>=0.38.0 site=react_native_fb,react_native_oss) - Flow error
* detected during the deployment of v0.38.0. To see the error, remove this
* comment and run flow */
this._subscriptions = [];
}
@@ -460,44 +460,44 @@ class XMLHttpRequest extends EventTarget(...XHR_EVENTS) {
!!this.onreadystatechange ||
!!this.onprogress;
/* $FlowFixMe(>=0.38.0 site=react_native_fb) - Flow error detected during
* the deployment of v0.38.0. To see the error, remove this comment and run
* flow */
/* $FlowFixMe(>=0.38.0 site=react_native_fb,react_native_oss) - Flow error
* detected during the deployment of v0.38.0. To see the error, remove this
* comment and run flow */
this._subscriptions.push(RCTNetworking.addListener(
'didSendNetworkData',
(args) => this.__didUploadProgress(...args)
));
/* $FlowFixMe(>=0.38.0 site=react_native_fb) - Flow error detected during
* the deployment of v0.38.0. To see the error, remove this comment and run
* flow */
/* $FlowFixMe(>=0.38.0 site=react_native_fb,react_native_oss) - Flow error
* detected during the deployment of v0.38.0. To see the error, remove this
* comment and run flow */
this._subscriptions.push(RCTNetworking.addListener(
'didReceiveNetworkResponse',
(args) => this.__didReceiveResponse(...args)
));
/* $FlowFixMe(>=0.38.0 site=react_native_fb) - Flow error detected during
* the deployment of v0.38.0. To see the error, remove this comment and run
* flow */
/* $FlowFixMe(>=0.38.0 site=react_native_fb,react_native_oss) - Flow error
* detected during the deployment of v0.38.0. To see the error, remove this
* comment and run flow */
this._subscriptions.push(RCTNetworking.addListener(
'didReceiveNetworkData',
(args) => this.__didReceiveData(...args)
));
/* $FlowFixMe(>=0.38.0 site=react_native_fb) - Flow error detected during
* the deployment of v0.38.0. To see the error, remove this comment and run
* flow */
/* $FlowFixMe(>=0.38.0 site=react_native_fb,react_native_oss) - Flow error
* detected during the deployment of v0.38.0. To see the error, remove this
* comment and run flow */
this._subscriptions.push(RCTNetworking.addListener(
'didReceiveNetworkIncrementalData',
(args) => this.__didReceiveIncrementalData(...args)
));
/* $FlowFixMe(>=0.38.0 site=react_native_fb) - Flow error detected during
* the deployment of v0.38.0. To see the error, remove this comment and run
* flow */
/* $FlowFixMe(>=0.38.0 site=react_native_fb,react_native_oss) - Flow error
* detected during the deployment of v0.38.0. To see the error, remove this
* comment and run flow */
this._subscriptions.push(RCTNetworking.addListener(
'didReceiveNetworkDataProgress',
(args) => this.__didReceiveDataProgress(...args)
));
/* $FlowFixMe(>=0.38.0 site=react_native_fb) - Flow error detected during
* the deployment of v0.38.0. To see the error, remove this comment and run
* flow */
/* $FlowFixMe(>=0.38.0 site=react_native_fb,react_native_oss) - Flow error
* detected during the deployment of v0.38.0. To see the error, remove this
* comment and run flow */
this._subscriptions.push(RCTNetworking.addListener(
'didCompleteNetworkResponse',
(args) => this.__didCompleteResponse(...args)