mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 03:50:11 +08:00
pick up some easy-to-fix lint warnings
Reviewed By: svcscm Differential Revision: D2938097 fb-gh-sync-id: e3373bd44267251d8351d5203be1c88676aa8685 shipit-source-id: e3373bd44267251d8351d5203be1c88676aa8685
This commit is contained in:
committed by
facebook-github-bot-8
parent
d31b47c018
commit
4237a27ec9
@@ -186,7 +186,7 @@ var WebView = React.createClass({
|
||||
} else if (this.props.url) {
|
||||
source.uri = this.props.url;
|
||||
}
|
||||
|
||||
|
||||
if (source.method === 'POST' && source.headers) {
|
||||
console.warn('WebView: `source.headers` is not supported when using POST.');
|
||||
} else if (source.method === 'GET' && source.body) {
|
||||
|
||||
Reference in New Issue
Block a user