Merge pull request #665 from yangguang2009/bugfix

This commit is contained in:
Tadeu Zagallo 2015-05-07 03:39:04 +01:00
commit 6899676bea
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ RCT_EXPORT_MODULE();
// Available as NativeModules.MyCustomModule.processString
RCT_EXPORT_METHOD(processString:(NSString *)input callback:(RCTResponseSenderBlock)callback)
{
callback(@[[input stringByReplacingOccurrencesOfString:@"Goodbye" withString:@"Hello"];]]);
callback(@[[input stringByReplacingOccurrencesOfString:@"Goodbye" withString:@"Hello"]]);
}
@end`}
</Prism>