aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/ui/ui_lib.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-10 07:57:10 +0800
committerobscuren <geffobscura@gmail.com>2014-05-10 07:57:10 +0800
commit1471585af082632b33eae5bf489d0ae0b277b369 (patch)
treee384ca2962012872d4cdaf3f2108c2eab8cd7ef9 /ethereal/ui/ui_lib.go
parent0bf2d24cb030ec53abedf483189ecbaa3c9676be (diff)
downloaddexon-1471585af082632b33eae5bf489d0ae0b277b369.tar.gz
dexon-1471585af082632b33eae5bf489d0ae0b277b369.tar.zst
dexon-1471585af082632b33eae5bf489d0ae0b277b369.zip
Moved Ext app js to its own dir
Diffstat (limited to 'ethereal/ui/ui_lib.go')
-rw-r--r--ethereal/ui/ui_lib.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/ethereal/ui/ui_lib.go b/ethereal/ui/ui_lib.go
index 7fe610c6a..35ceb7d79 100644
--- a/ethereal/ui/ui_lib.go
+++ b/ethereal/ui/ui_lib.go
@@ -59,14 +59,6 @@ func (ui *UiLib) OpenHtml(path string) {
go app.run()
}
-func (ui *UiLib) Watch(addr, storageAddr string) {
- if len(storageAddr) == 0 {
- ui.eth.Reactor().Subscribe("storage:"+string(ethutil.FromHex(addr))+":"+string(ethutil.FromHex(storageAddr)), nil)
- } else {
- ui.eth.Reactor().Subscribe("object:"+string(ethutil.FromHex(addr)), nil)
- }
-}
-
func (ui *UiLib) Muted(content string) {
component, err := ui.engine.LoadFile(ui.AssetPath("qml/muted.qml"))
if err != nil {
@@ -78,8 +70,6 @@ func (ui *UiLib) Muted(content string) {
go func() {
path := "file://" + ui.AssetPath("muted/index.html")
win.Set("url", path)
- //debuggerPath := "file://" + ui.AssetPath("muted/debugger.html")
- //win.Set("debugUrl", debuggerPath)
win.Show()
win.Wait()