Merge pull request #2674 from gubatron/master

[website] missing parenthesis in java example.
This commit is contained in:
James Ide 2015-09-14 11:31:39 -07:00
commit bda3873e50
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"));
}
}
`}