mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 11:57:46 +08:00
Revert D5197885 to unbreak Internal App
Reviewed By: shergin Differential Revision: D5312189 fbshipit-source-id: 07f6944994068638703611db9522b1861f1688e2
This commit is contained in:
committed by
Facebook Github Bot
parent
7516fa56d7
commit
dbd7a4e3a1
@@ -71,7 +71,7 @@
|
||||
return nil;
|
||||
}
|
||||
size = [self CGSize:json];
|
||||
scale = [self CGFloat:json[@"scale"]] ?: 1.0;
|
||||
scale = [self CGFloat:json[@"scale"]] ?: [self BOOL:json[@"deprecated"]] ? 0.0 : 1.0;
|
||||
packagerAsset = [self BOOL:json[@"__packager_asset"]];
|
||||
} else if ([json isKindOfClass:[NSString class]]) {
|
||||
request = [self NSURLRequest:json];
|
||||
|
||||
Reference in New Issue
Block a user