mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-17 12:19:12 +08:00
Remove code for testing without JS bundle
Reviewed By: mmmulani Differential Revision: D3542347 fbshipit-source-id: d0dcfb65645faf515e6e48e6ff733646e1bcf907
This commit is contained in:
committed by
Facebook Github Bot 8
parent
2ae23d9f36
commit
81f59dfdc2
@@ -99,7 +99,8 @@ RCT_EXPORT_MODULE()
|
||||
|
||||
- (NSURL *)sourceURLForBridge:(__unused RCTBridge *)bridge
|
||||
{
|
||||
return nil;
|
||||
NSBundle *bundle = [NSBundle bundleForClass:[self class]];
|
||||
return [bundle URLForResource:@"TestBundle" withExtension:@"js"];
|
||||
}
|
||||
|
||||
- (NSArray *)extraModulesForBridge:(__unused RCTBridge *)bridge
|
||||
|
||||
Reference in New Issue
Block a user