From a4cfe5c57369441bb6377d7cfb790302e13dbd10 Mon Sep 17 00:00:00 2001 From: Alex Kotliarskyi Date: Thu, 26 Mar 2015 11:26:57 -0400 Subject: [PATCH] Fix links in docs --- README.md | 4 ++-- docs/NativeModulesIOS.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d2ff09e20..3184fc964 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,8 @@ the community. # React Native [![Build Status](https://magnum.travis-ci.com/facebook/react-native.svg?token=L5Egb3B4dyQzH5wDijCB&branch=master)](https://magnum.travis-ci.com/facebook/react-native) -Our first React Native implementation is `ReactKit`, targeting iOS. We are also -working on an Android implementation which we will release later. `ReactKit` +Our first React Native implementation is `React`, targeting iOS. We are also +working on an Android implementation which we will release later. `React` apps are built using the [React JS](https://github.com/facebook/react) framework, and render directly to native UIKit elements using a fully asynchronous architecture. There is no browser and no HTML. We have picked what we think is the best set of features diff --git a/docs/NativeModulesIOS.md b/docs/NativeModulesIOS.md index 4bb685c2a..db53cd0ed 100644 --- a/docs/NativeModulesIOS.md +++ b/docs/NativeModulesIOS.md @@ -97,7 +97,7 @@ CalendarManager.addEvent('Birthday Party', { > **NOTE**: About array and map > -> React Native doesn't provide any guarantees about the types of values in these structures. Your native module might expect array of strings, but if JavaScript calls your method with an array that contains number and string you'll get `NSArray` with `NSNumber` and `NSString`. It's developer's responsibility to check array/map values types (see [`RCTConvert`](https://github.com/facebook/react-native/blob/master/ReactKit/Base/RCTConvert.h) for helper methods). +> React Native doesn't provide any guarantees about the types of values in these structures. Your native module might expect array of strings, but if JavaScript calls your method with an array that contains number and string you'll get `NSArray` with `NSNumber` and `NSString`. It's developer's responsibility to check array/map values types (see [`RCTConvert`](https://github.com/facebook/react-native/blob/master/React/Base/RCTConvert.h) for helper methods). # Callbacks @@ -128,9 +128,9 @@ CalendarManager.findEvents((error, events) => { }) ``` -Native module is supposed to invoke callback only once. It can, however, store the callback as an ivar and invoke it later. This pattern is often used to wrap iOS APIs that require delegate. See [`RCTAlertManager`](https://github.com/facebook/react-native/blob/master/ReactKit/Modules/RCTAlertManager.m). +Native module is supposed to invoke callback only once. It can, however, store the callback as an ivar and invoke it later. This pattern is often used to wrap iOS APIs that require delegate. See [`RCTAlertManager`](https://github.com/facebook/react-native/blob/master/React/Modules/RCTAlertManager.m). -If you want to pass error-like object to JavaScript, use `RCTMakeError` from [`RCTUtils.h`](https://github.com/facebook/react-native/blob/master/ReactKit/Base/RCTUtils.h). +If you want to pass error-like object to JavaScript, use `RCTMakeError` from [`RCTUtils.h`](https://github.com/facebook/react-native/blob/master/React/Base/RCTUtils.h). ## Implementing native module