Compare commits

..

No commits in common. "main" and "v0.0.3" have entirely different histories.
main ... v0.0.3

2 changed files with 3 additions and 3 deletions

View File

@ -161,9 +161,9 @@ func consolePrint(args goja.FunctionCall, typ string, vm *goja.Runtime) {
for i, arg := range args.Arguments { for i, arg := range args.Arguments {
if textColor != u.TextNone { if textColor != u.TextNone {
arr[i] = u.Color(u.StringP(gojs.FixObject(arg.Export())), textColor, u.BgNone) arr[i] = u.Color(u.StringP(arg.Export()), textColor, u.BgNone)
} else { } else {
arr[i] = u.StringP(gojs.FixObject(arg.Export())) arr[i] = u.StringP(arg.Export())
} }
} }

2
go.mod
View File

@ -3,7 +3,7 @@ module apigo.cc/gojs/console
go 1.24.0 go 1.24.0
require ( require (
apigo.cc/gojs v0.0.30 apigo.cc/gojs v0.0.28
github.com/ssgo/u v1.7.23 github.com/ssgo/u v1.7.23
) )