Fix typos in NavigationExperimental

Summary: Closes https://github.com/facebook/react-native/pull/6749

Differential Revision: D3122485

fb-gh-sync-id: 86f10407a398f9dc73177f3d85076729e4d8d574
fbshipit-source-id: 86f10407a398f9dc73177f3d85076729e4d8d574
This commit is contained in:
Nicolas Charpentier
2016-03-31 13:54:00 -07:00
committed by Facebook Github Bot 1
parent 6a3b334139
commit b098d0e839

View File

@@ -189,7 +189,7 @@ class NavigationLegacyNavigator extends React.Component<any, Props, State> {
return this._stack.toArray();
}
// Lyfe cycle and private methods below.
// Life cycle and private methods below.
shouldComponentUpdate(nextProps: Object, nextState: Object): boolean {
return ReactComponentWithPureRenderMixin.shouldComponentUpdate.call(
@@ -254,7 +254,7 @@ class NavigationLegacyNavigator extends React.Component<any, Props, State> {
}
_renderHeader(props: NavigationSceneRendererProps): ?ReactElement {
// `_renderHeader` is the always called before `_renderCard`. We should
// `_renderHeader` is always called before `_renderCard`. We should
// subscribe to the position here.
this._positionListener && this._positionListener.remove();
this._positionListener = new NavigationAnimatedValueSubscription(