From f1b13681b425bd3384c856a23be060c8b4b5b071 Mon Sep 17 00:00:00 2001 From: yangguang Date: Sat, 4 Apr 2015 17:58:43 +0800 Subject: [PATCH] fix the clerical error --- website/src/react-native/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/react-native/index.js b/website/src/react-native/index.js index 3cc9fa6dced476..710cc930549c29 100644 --- a/website/src/react-native/index.js +++ b/website/src/react-native/index.js @@ -174,7 +174,7 @@ var GeoInfo = React.createClass({ - (void)processString:(NSString *)input callback:(RCTResponseSenderBlock)callback { RCT_EXPORT(); // available as NativeModules.MyCustomModule.processString - callback(@[[input stringByReplacingOccurrencesOfString:@"Goodbye" withString:@"Hello"];]]); + callback(@[[input stringByReplacingOccurrencesOfString:@"Goodbye" withString:@"Hello"]]); } @end`}