[website] missing parenthesis in java example.

This commit is contained in:
gubatron 2015-09-14 14:22:47 -04:00
parent 42eb5464fd
commit 7995f28a11
1 changed files with 1 additions and 1 deletions

View File

@ -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"));
}
}
`}