Skip to content

Commit

Permalink
Remove iOS 7 version check in RCTJSCWrapperCreate
Browse files Browse the repository at this point in the history
Reviewed By: michalgr

Differential Revision: D3729175

fbshipit-source-id: 43ee2ba19b3d8fed20bd268d1e2d0fab83e2fe9f
  • Loading branch information
bnham authored and Facebook Github Bot 4 committed Aug 18, 2016
1 parent fd34c6d commit 4ad01be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion React/Executors/RCTJSCWrapper.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4ad01be

Please sign in to comment.