mirror of
https://github.com/status-im/react-native.git
synced 2025-01-26 17:30:25 +00:00
Revert D5932093: [RAMBO] Final fixes
Differential Revision: D5932093 fbshipit-source-id: 8e6ac0482a4c5a9ae4549be73d316df919613c9b
This commit is contained in:
parent
73eb6c2481
commit
f9047cdfaf
@ -651,7 +651,7 @@ namespace facebook {
|
||||
void JSCExecutor::loadModule(uint32_t bundleId, uint32_t moduleId) {
|
||||
auto module = m_bundleRegistry->getModule(bundleId, moduleId);
|
||||
auto sourceUrl = String::createExpectingAscii(m_context, module.name);
|
||||
auto source = adoptString(std::unique_ptr<JSBigString>(new JSBigStdString(module.code)));
|
||||
auto source = String::createExpectingAscii(m_context, module.code);
|
||||
evaluateScript(m_context, source, sourceUrl);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user