Remove iOS 7 version check in RCTJSCWrapperCreate

Reviewed By: michalgr

Differential Revision: D3729175

fbshipit-source-id: 43ee2ba19b3d8fed20bd268d1e2d0fab83e2fe9f
This commit is contained in:
Ben Nham 2016-08-18 03:21:08 -07:00 committed by Facebook Github Bot 4
parent fd34c6d567
commit 4ad01be3a0

View File

@ -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);