mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-10 17:33:36 +08:00
Reverted commit D3545345
Reviewed By: tadeuzagallo Differential Revision: D3545345 fbshipit-source-id: d655918be7dcadaf8143800497e85f3de44bd48a
This commit is contained in:
committed by
Facebook Github Bot 6
parent
7d2b5714af
commit
df01215006
@@ -124,20 +124,6 @@ void NativeToJsBridge::loadApplicationScript(std::unique_ptr<const JSBigString>
|
||||
m_mainExecutor->loadApplicationScript(std::move(script), std::move(sourceURL));
|
||||
}
|
||||
|
||||
void NativeToJsBridge::loadOptimizedApplicationScript(
|
||||
std::string bundlePath,
|
||||
std::string sourceURL,
|
||||
int flags) {
|
||||
runOnExecutorQueue(
|
||||
m_mainExecutorToken,
|
||||
[bundlePath=std::move(bundlePath),
|
||||
sourceURL=std::move(sourceURL),
|
||||
flags=flags]
|
||||
(JSExecutor* executor) {
|
||||
executor->loadApplicationScript(std::move(bundlePath), std::move(sourceURL), flags);
|
||||
});
|
||||
}
|
||||
|
||||
void NativeToJsBridge::loadApplicationUnbundle(
|
||||
std::unique_ptr<JSModulesUnbundle> unbundle,
|
||||
std::unique_ptr<const JSBigString> startupScript,
|
||||
|
||||
Reference in New Issue
Block a user