[react-native] Codemod .getNodeHandle, .getNativeNode to React.findNodeHandle

This commit is contained in:
Ben Alpert
2015-05-12 18:55:13 -07:00
committed by Christopher Chedeau
parent a2f73b4d77
commit a0440daf98
11 changed files with 33 additions and 29 deletions

View File

@@ -67,7 +67,7 @@ var RCTNavigatorItem = createReactNativeComponentClass({
var NavigatorTransitionerIOS = React.createClass({
requestSchedulingNavigation: function(cb) {
RCTNavigatorManager.requestSchedulingJavaScriptNavigation(
(this: any).getNodeHandle(),
React.findNodeHandle(this),
logError,
cb
);