Merge pull request #4744 from zjlovezj/patch-2

fix sample code error by removing the extra chars
This commit is contained in:
James Ide 2015-12-12 04:06:06 -08:00
commit c2b38c9113

View File

@ -181,8 +181,8 @@ Refactoring the above code to use a promise instead of callbacks looks like this
```objective-c
RCT_REMAP_METHOD(findEvents,
resolver:(RCTPromiseResolveBlock)resolve,
rejecter:(RCTPromiseRejectBlock)reject))
resolver:(RCTPromiseResolveBlock)resolve
rejecter:(RCTPromiseRejectBlock)reject)
{
NSArray *events = ...
if (events) {