From 7995f28a115d571bcd1823533fb3e4ffe1a325b1 Mon Sep 17 00:00:00 2001 From: gubatron Date: Mon, 14 Sep 2015 14:22:47 -0400 Subject: [PATCH] [website] missing parenthesis in java example. --- 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 7a3a94a55..6e6f6b603 100644 --- a/website/src/react-native/index.js +++ b/website/src/react-native/index.js @@ -291,7 +291,7 @@ public class MyCustomModule extends ReactContextBaseJavaModule { // Available as NativeModules.MyCustomModule.processString @ReactMethod public void processString(String input, Callback callback) { - callback.invoke(input.replace("Goodbye", "Hello"); + callback.invoke(input.replace("Goodbye", "Hello")); } } `}