mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-06-13 18:56:40 +08:00
Deleting Optimized Bundle!
Reviewed By: javache Differential Revision: D4566164 fbshipit-source-id: 1fbd3dd04f24399e93e3c6ec58956e6e18f1683f
This commit is contained in:
committed by
Facebook Github Bot
parent
7c97008fa8
commit
14dc219810
@@ -90,16 +90,6 @@ void Instance::loadScriptFromFile(const std::string& filename,
|
||||
nativeToJsBridge_->loadApplication(nullptr, std::move(script), sourceURL);
|
||||
}
|
||||
|
||||
void Instance::loadScriptFromOptimizedBundle(std::string bundlePath,
|
||||
std::string sourceURL,
|
||||
int flags) {
|
||||
SystraceSection s("reactbridge_xplat_loadScriptFromOptimizedBundle",
|
||||
"bundlePath", bundlePath);
|
||||
nativeToJsBridge_->loadOptimizedApplicationScript(std::move(bundlePath),
|
||||
std::move(sourceURL),
|
||||
flags);
|
||||
}
|
||||
|
||||
void Instance::loadUnbundle(std::unique_ptr<JSModulesUnbundle> unbundle,
|
||||
std::unique_ptr<const JSBigString> startupScript,
|
||||
std::string startupScriptSourceURL) {
|
||||
|
||||
Reference in New Issue
Block a user