Updates from Tue 17 Mar

- [ReactNative] Remove pushNotification prop from renderApplication | Eric Vicenti
- [react_native] Stub VibrationIOS on Android | Andy Street
- [ReactNative] Simplify and test interpolators | Christopher Chedeau
- [ReactNative] Increase timeout for obj-c tests | Christopher Chedeau
- [ReactNative] Updated RKText to new UIManager system | Nick Lockwood
- [ReactNative] Unforked RCTShadowView, moved RKTextView into FBReactKitTextModule | Nick Lockwood
- [ReactKit] Remove NativeModulesDeprecated | Spencer Ahrens
- [ReactNative] Allow single callbacks in NativeModules | Spencer Ahrens
- [ReactNative] s/RK/RCT in OSS | Spencer Ahrens
- [ReactNative] Cleanup StyleSheet API | Christopher Chedeau
- [RCTVibration] Basic Vibration API | Christopher Chedeau
- [React Native] Prevent crash in redbox code with two thrown errors | Ben Alpert
- [ReactNative] unbreak Android | Andrew Rasmussen
This commit is contained in:
Christopher Chedeau
2015-03-17 13:42:44 -07:00
parent 299dea8594
commit f7cf017d29
77 changed files with 937 additions and 530 deletions

View File

@@ -8,7 +8,7 @@
var NativeModules = require('NativeModules');
var RCTDeviceEventEmitter = require('RCTDeviceEventEmitter');
var RKReachability = NativeModules.RKReachability;
var RCTReachability = NativeModules.RCTReachability;
var DEVICE_REACHABILITY_EVENT = 'reachabilityDidChange';
@@ -49,7 +49,7 @@ type ChangeEventName = $Enum<{
var NetInfo = {};
if (RKReachability) {
if (RCTReachability) {
var _reachabilitySubscriptions = {};
NetInfo.reachabilityIOS = {
@@ -78,7 +78,7 @@ if (RKReachability) {
fetch: function(): Promise {
return new Promise((resolve, reject) => {
RKReachability.getCurrentReachability(
RCTReachability.getCurrentReachability(
(resp) => {
resolve(resp.network_reachability);
},

View File

@@ -6,7 +6,7 @@
*/
'use strict';
var RKDataManager = require('NativeModulesDeprecated').RKDataManager;
var RCTDataManager = require('NativeModules').RCTDataManager;
var crc32 = require('crc32');
@@ -91,7 +91,7 @@ class XMLHttpRequest {
}
this._sent = true;
RKDataManager.queryData(
RCTDataManager.queryData(
'http',
JSON.stringify({
method: this._method,