set JS profiling global to true, fix to parsing of strings with ascii value >=128

Reviewed By: @mkonicek

Differential Revision: D2512320

fb-gh-sync-id: 098727cd664f0f0cdb0092875a9934a5d7b577f2
This commit is contained in:
Mike Armstrong
2015-10-06 09:09:19 -07:00
committed by facebook-github-bot-4
parent b5890e1283
commit 5d682d65f6
2 changed files with 49 additions and 0 deletions

View File

@@ -60,6 +60,10 @@ public class ReactBridge extends Countable {
JavaScriptExecutor jsExecutor,
ReactCallback callback,
MessageQueueThread nativeModulesQueueThread);
/**
* All native functions are not thread safe and appropriate queues should be used
*/
public native void loadScriptFromAssets(AssetManager assetManager, String assetName);
public native void loadScriptFromNetworkCached(String sourceURL, @Nullable String tempFileName);
public native void callFunction(int moduleId, int methodId, NativeArray arguments);