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