mirror of
https://github.com/status-im/react-native.git
synced 2025-02-25 15:45:32 +00:00
Removing redundant if
.
Reviewed By: javache Differential Revision: D4139894 fbshipit-source-id: 457f6b2b0b448af1dd75faa1c1b350e36d7a3133
This commit is contained in:
parent
81e4139edc
commit
3ee5e97bcd
@ -287,15 +287,10 @@ static NSThread *newJavaScriptThread(void)
|
||||
registerNativeRequire(_context.context, self);
|
||||
}
|
||||
|
||||
NSError *execError = executeApplicationScript(taggedScript, sourceURL,
|
||||
_jscWrapper,
|
||||
_performanceLogger,
|
||||
_context.context.JSGlobalContextRef);
|
||||
if (execError) {
|
||||
return execError;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
return executeApplicationScript(taggedScript, sourceURL,
|
||||
_jscWrapper,
|
||||
_performanceLogger,
|
||||
_context.context.JSGlobalContextRef);
|
||||
}
|
||||
|
||||
- (RCTJavaScriptContext *)context
|
||||
|
Loading…
x
Reference in New Issue
Block a user