mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-12 17:30:12 +08:00
Added non-class-scanning-based approach fror registering js methods
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
|
||||
@implementation RCTSourceCode
|
||||
|
||||
RCT_EXPORT_MODULE()
|
||||
|
||||
- (void)getScriptText:(RCTResponseSenderBlock)successCallback failureCallback:(RCTResponseSenderBlock)failureCallback
|
||||
{
|
||||
RCT_EXPORT();
|
||||
|
||||
Reference in New Issue
Block a user