Typo: Change WebWiew to WebView
Summary: Closes https://github.com/facebook/react-native/pull/5648 Reviewed By: svcscm Differential Revision: D2884296 Pulled By: androidtrunkagent fb-gh-sync-id: 50340c0fc06926fbb3dc41c3078aa985ff48ccd3
This commit is contained in:
parent
d3a1d27aaa
commit
5712e0c3eb
|
@ -156,7 +156,7 @@ var WebView = React.createClass({
|
|||
|
||||
goForward: function() {
|
||||
UIManager.dispatchViewManagerCommand(
|
||||
this.getWebWiewHandle(),
|
||||
this.getWebViewHandle(),
|
||||
UIManager.RCTWebView.Commands.goForward,
|
||||
null
|
||||
);
|
||||
|
@ -164,7 +164,7 @@ var WebView = React.createClass({
|
|||
|
||||
goBack: function() {
|
||||
UIManager.dispatchViewManagerCommand(
|
||||
this.getWebWiewHandle(),
|
||||
this.getWebViewHandle(),
|
||||
UIManager.RCTWebView.Commands.goBack,
|
||||
null
|
||||
);
|
||||
|
@ -172,7 +172,7 @@ var WebView = React.createClass({
|
|||
|
||||
reload: function() {
|
||||
UIManager.dispatchViewManagerCommand(
|
||||
this.getWebWiewHandle(),
|
||||
this.getWebViewHandle(),
|
||||
UIManager.RCTWebView.Commands.reload,
|
||||
null
|
||||
);
|
||||
|
@ -188,7 +188,7 @@ var WebView = React.createClass({
|
|||
}
|
||||
},
|
||||
|
||||
getWebWiewHandle: function() {
|
||||
getWebViewHandle: function() {
|
||||
return React.findNodeHandle(this.refs[RCT_WEBVIEW_REF]);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue