Skip to content

Commit

Permalink
Final fixes
Browse files Browse the repository at this point in the history
Reviewed By: amnn

Differential Revision: D5932093

fbshipit-source-id: f52a0bb3552af5ad003c051dc32dff0bfabb43ac
  • Loading branch information
dcaspi authored and facebook-github-bot committed Oct 12, 2017
1 parent acd9a29 commit 0da1738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReactCommon/cxxreact/JSCExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 = String::createExpectingAscii(m_context, module.code);
auto source = adoptString(std::unique_ptr<JSBigString>(new JSBigStdString(module.code)));
evaluateScript(m_context, source, sourceUrl);
}

Expand Down

0 comments on commit 0da1738

Please sign in to comment.