mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
add API to CatalystInstanceImpl for executing optimized bundle
Reviewed By: tadeuzagallo Differential Revision: D3545345 fbshipit-source-id: 538fec77b816c3fd767e8c2eda81c78971996b17
This commit is contained in:
committed by
Facebook Github Bot 2
parent
a665914d18
commit
1331e20db5
@@ -84,6 +84,12 @@ public:
|
||||
*/
|
||||
void loadApplicationScript(std::unique_ptr<const JSBigString> script, std::string sourceURL);
|
||||
|
||||
/**
|
||||
* Similar to loading a "bundle", but instead of passing js source this method accepts
|
||||
* path to a directory containing files prepared for particular JSExecutor.
|
||||
*/
|
||||
void loadOptimizedApplicationScript(std::string bundlePath, std::string sourceURL, int flags);
|
||||
|
||||
/**
|
||||
* An "unbundle" is a backend that stores and injects JavaScript modules as
|
||||
* individual scripts, rather than bundling all of them into a single scrupt.
|
||||
|
||||
Reference in New Issue
Block a user