add wasm tag
This commit is contained in:
parent
784a961885
commit
2a561265c1
3 changed files with 7 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ func jsGetParentID(this js.Value, args []js.Value) interface{} {
|
|||
return "root"
|
||||
}
|
||||
mk.Key.Path = mk.Key.Path[:len(mk.Key.Path)-1]
|
||||
return strings.Join(mk.Key.IDA(), ".")
|
||||
return strings.Join(mk.Key.StringIDA(), ".")
|
||||
}
|
||||
|
||||
return ""
|
||||
|
|
|
|||
|
|
@ -11,3 +11,7 @@ func MeasureMarkdown(mdText string, ruler *Ruler, fontFamily *d2fonts.FontFamily
|
|||
func RenderMarkdown(m string) (string, error) {
|
||||
return "", nil
|
||||
}
|
||||
|
||||
func ReplaceSubstitutionsMarkdown(mdText string, variables map[string]string) string {
|
||||
return mdText
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
//go:build !wasm
|
||||
|
||||
package textmeasure
|
||||
|
||||
import (
|
||||
|
|
|
|||
Loading…
Reference in a new issue