mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-02 14:54:58 +08:00
[ReactNative] s/RK/RCT in OSS
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
var RKUIManager = require('NativeModulesDeprecated').RKUIManager;
|
||||
var RCTUIManager = require('NativeModulesDeprecated').RCTUIManager;
|
||||
|
||||
var TextInputState = {
|
||||
/**
|
||||
@@ -33,7 +33,7 @@ var TextInputState = {
|
||||
focusTextInput: function(textFieldID) {
|
||||
if (this._currentlyFocusedID != textFieldID && textFieldID != null) {
|
||||
this._currentlyFocusedID = textFieldID;
|
||||
RKUIManager.focus(textFieldID);
|
||||
RCTUIManager.focus(textFieldID);
|
||||
}
|
||||
},
|
||||
|
||||
@@ -45,7 +45,7 @@ var TextInputState = {
|
||||
blurTextInput: function(textFieldID) {
|
||||
if (this._currentlyFocusedID == textFieldID && textFieldID != null) {
|
||||
this._currentlyFocusedID = null;
|
||||
RKUIManager.blur(textFieldID);
|
||||
RCTUIManager.blur(textFieldID);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user