Doric Async and so on

This commit is contained in:
pengfei.zhou
2019-07-26 14:19:42 +08:00
parent 40165bca14
commit f0b003cb66
25 changed files with 523 additions and 152 deletions

View File

@@ -39,7 +39,7 @@ public class DoricJSEngine implements Handler.Callback, DoricTimerExtension.Time
@Override
public void run() {
initJSExecutor();
initHugoRuntime();
initDoricRuntime();
}
});
mTimerExtension = new DoricTimerExtension(looper, this);
@@ -136,7 +136,7 @@ public class DoricJSEngine implements Handler.Callback, DoricTimerExtension.Time
});
}
private void initHugoRuntime() {
private void initDoricRuntime() {
loadBuiltinJS(DoricConstant.DORIC_BUNDLE_SANDBOX);
String libName = DoricConstant.DORIC_MODULE_LIB;
String libJS = DoricUtils.readAssetFile(DoricConstant.DORIC_BUNDLE_LIB);