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() {
|
goForward: function() {
|
||||||
UIManager.dispatchViewManagerCommand(
|
UIManager.dispatchViewManagerCommand(
|
||||||
this.getWebWiewHandle(),
|
this.getWebViewHandle(),
|
||||||
UIManager.RCTWebView.Commands.goForward,
|
UIManager.RCTWebView.Commands.goForward,
|
||||||
null
|
null
|
||||||
);
|
);
|
||||||
|
@ -164,7 +164,7 @@ var WebView = React.createClass({
|
||||||
|
|
||||||
goBack: function() {
|
goBack: function() {
|
||||||
UIManager.dispatchViewManagerCommand(
|
UIManager.dispatchViewManagerCommand(
|
||||||
this.getWebWiewHandle(),
|
this.getWebViewHandle(),
|
||||||
UIManager.RCTWebView.Commands.goBack,
|
UIManager.RCTWebView.Commands.goBack,
|
||||||
null
|
null
|
||||||
);
|
);
|
||||||
|
@ -172,7 +172,7 @@ var WebView = React.createClass({
|
||||||
|
|
||||||
reload: function() {
|
reload: function() {
|
||||||
UIManager.dispatchViewManagerCommand(
|
UIManager.dispatchViewManagerCommand(
|
||||||
this.getWebWiewHandle(),
|
this.getWebViewHandle(),
|
||||||
UIManager.RCTWebView.Commands.reload,
|
UIManager.RCTWebView.Commands.reload,
|
||||||
null
|
null
|
||||||
);
|
);
|
||||||
|
@ -188,7 +188,7 @@ var WebView = React.createClass({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
getWebWiewHandle: function() {
|
getWebViewHandle: function() {
|
||||||
return React.findNodeHandle(this.refs[RCT_WEBVIEW_REF]);
|
return React.findNodeHandle(this.refs[RCT_WEBVIEW_REF]);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue