Moved Ext app js to its own dir
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user