From c2bc92288ebf2c9b45a08a8a8e9ecca7dc08fce2 Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Mon, 12 Aug 2019 11:33:57 +0800 Subject: [PATCH] debug pannel --- .../penfeizhou/doricdemo/MainActivity.java | 2 +- debugger/public/favicon.ico | Bin 4286 -> 7189 bytes debugger/src/App.vue | 6 +- debugger/src/assets/doric.svg | 1 + debugger/src/components/Debug.vue | 54 +++++++++--------- debugger/src/main.js | 1 - 6 files changed, 32 insertions(+), 32 deletions(-) create mode 100644 debugger/src/assets/doric.svg diff --git a/Android/app/src/main/java/com/github/penfeizhou/doricdemo/MainActivity.java b/Android/app/src/main/java/com/github/penfeizhou/doricdemo/MainActivity.java index 1ad0aca9..88cc8d18 100644 --- a/Android/app/src/main/java/com/github/penfeizhou/doricdemo/MainActivity.java +++ b/Android/app/src/main/java/com/github/penfeizhou/doricdemo/MainActivity.java @@ -20,7 +20,7 @@ public class MainActivity extends AppCompatActivity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); - DoricContext doricContext = DoricContext.create(this, DoricUtils.readAssetFile("demo/demo.js"), "demo"); + DoricContext doricContext = DoricContext.create(this, DoricUtils.readAssetFile("demo/demo.js"), "demo for test"); doricContext.callEntity("__init__", new JSONBuilder() .put("width", ViewGroup.LayoutParams.MATCH_PARENT) .put("height", ViewGroup.LayoutParams.MATCH_PARENT)); diff --git a/debugger/public/favicon.ico b/debugger/public/favicon.ico index df36fcfb72584e00488330b560ebcf34a41c64c2..4294d8ab1d0282b452e802e03bc532eb42288c75 100644 GIT binary patch literal 7189 zcmcI}XH=8hw&+JkrKuE&2t*VV6e)=cNRbj?(|Zp{6B4>05ClRKX`%=yp*I78B+`o@ zHoz@LI*}%B+0=-DAtIsOPaWsSy?2~<&Uo*g9~s|VbIrNdnq|$hl45SE&wCJZ5C8yP zLjzq)0AK|{R)Cuw{2+tHg24~_^{XaV0iZ7P(9Sgua4hLzU}*vX7-;~&CISEx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K@0cIW%W7z}H{&~yGhn~D;aiP4=;m-HCo`BEI+Kd6 z={Xwx{TKxD#iCLfl2vQGDitKtN>z|-AdCN|$jTFDg0m3O`WLD4_s#$S diff --git a/debugger/src/App.vue b/debugger/src/App.vue index 3f723a8e..ce2c8d13 100644 --- a/debugger/src/App.vue +++ b/debugger/src/App.vue @@ -1,13 +1,12 @@ diff --git a/debugger/src/main.js b/debugger/src/main.js index 73ddc5a4..08b9b3b1 100644 --- a/debugger/src/main.js +++ b/debugger/src/main.js @@ -5,6 +5,5 @@ Vue.config.productionTip = false var vm = new Vue({ render: h => h(App), - allContext: [{ "source": "demo", "id": "1" }], }) vm.$mount('#app')