[ReactNative] s/ReactNavigator/Navigator/

This commit is contained in:
Tadeu Zagallo
2015-03-25 21:10:04 -07:00
parent 20501b3042
commit 558b8c65e0
14 changed files with 36 additions and 36 deletions

View File

@@ -37,7 +37,7 @@ var TextInputState = {
* noop if the text field was already focused
*/
focusTextInput: function(textFieldID: string) {
if (this._currentlyFocusedID != textFieldID && textFieldID != null) {
if (this._currentlyFocusedID !== textFieldID && textFieldID !== null) {
this._currentlyFocusedID = textFieldID;
RCTUIManager.focus(textFieldID);
}
@@ -49,7 +49,7 @@ var TextInputState = {
* noop if it wasn't focused
*/
blurTextInput: function(textFieldID: string) {
if (this._currentlyFocusedID == textFieldID && textFieldID != null) {
if (this._currentlyFocusedID === textFieldID && textFieldID !== null) {
this._currentlyFocusedID = null;
RCTUIManager.blur(textFieldID);
}