From 4ad01be3a00a45c5130eb199619532cbc4d17b9e Mon Sep 17 00:00:00 2001 From: Ben Nham Date: Thu, 18 Aug 2016 03:21:08 -0700 Subject: [PATCH] Remove iOS 7 version check in RCTJSCWrapperCreate Reviewed By: michalgr Differential Revision: D3729175 fbshipit-source-id: 43ee2ba19b3d8fed20bd268d1e2d0fab83e2fe9f --- React/Executors/RCTJSCWrapper.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/React/Executors/RCTJSCWrapper.mm b/React/Executors/RCTJSCWrapper.mm index ddb8e60cbc0..ceaf89af71a 100644 --- a/React/Executors/RCTJSCWrapper.mm +++ b/React/Executors/RCTJSCWrapper.mm @@ -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);