mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 11:57:46 +08:00
Remove iOS 7 version check in RCTJSCWrapperCreate
Reviewed By: michalgr Differential Revision: D3729175 fbshipit-source-id: 43ee2ba19b3d8fed20bd268d1e2d0fab83e2fe9f
This commit is contained in:
committed by
Facebook Github Bot 4
parent
fd34c6d567
commit
4ad01be3a0
@@ -93,7 +93,7 @@ static void RCTSetUpCustomLibraryPointers(RCTJSCWrapper *wrapper)
|
||||
RCTJSCWrapper *RCTJSCWrapperCreate(BOOL useCustomJSC)
|
||||
{
|
||||
RCTJSCWrapper *wrapper = (RCTJSCWrapper *)malloc(sizeof(RCTJSCWrapper));
|
||||
if (useCustomJSC && [UIDevice currentDevice].systemVersion.floatValue >= 8) {
|
||||
if (useCustomJSC) {
|
||||
RCTSetUpCustomLibraryPointers(wrapper);
|
||||
} else {
|
||||
RCTSetUpSystemLibraryPointers(wrapper);
|
||||
|
||||
Reference in New Issue
Block a user