fix sample code error by removing the extra chars

fix sample code error by removing the extra ',' and ')'
This commit is contained in:
zjlovezj 2015-12-12 19:21:31 +08:00
parent 23e0945c93
commit e6c8848c07
1 changed files with 2 additions and 2 deletions

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) {