android: change back to DoricJSEngine by default
This commit is contained in:
parent
18b50be203
commit
098d96e47c
@ -25,7 +25,7 @@ android {
|
||||
}
|
||||
|
||||
afterEvaluate {
|
||||
//buildJSBundle.exec()
|
||||
buildJSBundle.exec()
|
||||
}
|
||||
|
||||
task buildJSBundle(type: Exec) {
|
||||
|
@ -52,7 +52,7 @@ public class DoricNativeDriver implements IDoricDriver {
|
||||
private final Handler mUIHandler;
|
||||
|
||||
public DoricNativeDriver() {
|
||||
doricJSEngine = new DoricWebShellJSEngine();
|
||||
doricJSEngine = new DoricJSEngine();
|
||||
mBridgeExecutor = Executors.newCachedThreadPool();
|
||||
mUIHandler = new Handler(Looper.getMainLooper());
|
||||
mJSHandler = doricJSEngine.getJSHandler();
|
||||
|
@ -7,6 +7,7 @@
|
||||
<body>
|
||||
<p>Hello HTML5</p>
|
||||
</body>
|
||||
<script type="text/javascript" src="http://shell.doric/doric-web.js"></script>
|
||||
<script type="text/javascript">
|
||||
function addScriptElement(scriptId, source) {
|
||||
const scriptElement = document.createElement("script");
|
||||
|
Reference in New Issue
Block a user