Remove iOS 7 version check in RCTJSCWrapperCreate

Reviewed By: michalgr

Differential Revision: D3729175

fbshipit-source-id: 43ee2ba19b3d8fed20bd268d1e2d0fab83e2fe9f
This commit is contained in:
Ben Nham authored and Facebook Github Bot 4 committed 2016-08-18 03:28:34 -07:00
1 parent fd34c6d567
commit 4ad01be3a0
1 file changed
+1 -1
+1 -1
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);