update for gojs
This commit is contained in:
parent
64d3c24eab
commit
e5c8180fdf
@ -161,9 +161,9 @@ func consolePrint(args goja.FunctionCall, typ string, vm *goja.Runtime) {
|
||||
|
||||
for i, arg := range args.Arguments {
|
||||
if textColor != u.TextNone {
|
||||
arr[i] = u.Color(u.StringP(arg.Export()), textColor, u.BgNone)
|
||||
arr[i] = u.Color(u.StringP(gojs.FixObject(arg.Export())), textColor, u.BgNone)
|
||||
} else {
|
||||
arr[i] = u.StringP(arg.Export())
|
||||
arr[i] = u.StringP(gojs.FixObject(arg.Export()))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user