mirror of https://github.com/anoshenko/rui.git
Update wasmBridge.go
This commit is contained in:
parent
ea930e7b73
commit
a8679fbd26
|
|
@ -106,6 +106,7 @@ func (bridge *wasmBridge) close() {
|
||||||
bridge.closeEvent <- NewDataObject("close")
|
bridge.closeEvent <- NewDataObject("close")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
func (bridge *wasmBridge) writeMessage(script string) bool {
|
func (bridge *wasmBridge) writeMessage(script string) bool {
|
||||||
if ProtocolInDebugLog {
|
if ProtocolInDebugLog {
|
||||||
DebugLog("Run script:")
|
DebugLog("Run script:")
|
||||||
|
|
@ -117,6 +118,7 @@ func (bridge *wasmBridge) writeMessage(script string) bool {
|
||||||
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
func (bridge *wasmBridge) prepareCSS(css string) string {
|
func (bridge *wasmBridge) prepareCSS(css string) string {
|
||||||
css = strings.ReplaceAll(css, `\t`, "\t")
|
css = strings.ReplaceAll(css, `\t`, "\t")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue