We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73eb6c2 commit f9047cdCopy full SHA for f9047cd
ReactCommon/cxxreact/JSCExecutor.cpp
@@ -651,7 +651,7 @@ namespace facebook {
651
void JSCExecutor::loadModule(uint32_t bundleId, uint32_t moduleId) {
652
auto module = m_bundleRegistry->getModule(bundleId, moduleId);
653
auto sourceUrl = String::createExpectingAscii(m_context, module.name);
654
- auto source = adoptString(std::unique_ptr<JSBigString>(new JSBigStdString(module.code)));
+ auto source = String::createExpectingAscii(m_context, module.code);
655
evaluateScript(m_context, source, sourceUrl);
656
}
657
0 commit comments