Bytecode Exposure Logging

Reviewed By: javache

Differential Revision: D4160438

fbshipit-source-id: 3554ec68da5fcae8baef8bb49c76b75a7e45c55f
This commit is contained in:
Ashok Menon
2016-11-14 07:53:31 -08:00
committed by Facebook Github Bot
parent 10e0aec62f
commit e7c85cea36
2 changed files with 20 additions and 0 deletions

View File

@@ -37,6 +37,18 @@ RCTScriptTag RCTParseTypeFromHeader(RCTBundleHeader header)
return RCTScriptString;
}
NSString *RCTStringForScriptTag(RCTScriptTag tag)
{
switch (tag) {
case RCTScriptString:
return @"String";
case RCTScriptRAMBundle:
return @"RAM Bundle";
case RCTScriptBCBundle:
return @"BC Bundle";
}
}
@implementation RCTLoadingProgress
- (NSString *)description