Skip to content

Commit cbc567a

Browse files
committed
go25: undo prior commit
1 parent 1f0e1b9 commit cbc567a

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

content/content.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ type Content struct {
112112
}
113113

114114
func init() {
115-
fmt.Println("content init")
116115
// We want Command+[ and Command+] to work for browser back/forward navigation
117116
// in content, since we rely on that. They should still be intercepted by
118117
// Cogent Core for non-content apps for things such as full window dialogs,

content/generatehtml.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import (
2222
// as HTML that can be used as a preview and for SEO purposes.
2323

2424
func init() {
25-
fmt.Println("gen init")
2625
// We override the OnChildAdded set in core/generatehtml.go
2726
core.ExternalParent.AsWidget().SetOnChildAdded(func(n tree.Node) {
2827
var ct *Content
@@ -36,7 +35,6 @@ func init() {
3635
}
3736
return tree.Continue
3837
})
39-
fmt.Println("content:", ct)
4038
if ct == nil {
4139
fmt.Println(core.GenerateHTML(n.(core.Widget))) // basic fallback
4240
os.Exit(0)
@@ -49,7 +47,6 @@ func init() {
4947
Page: *pg,
5048
HTML: core.GenerateHTML(ct),
5149
}
52-
fmt.Println(pg.URL)
5350
// The first non-emphasized paragraph is used as the description
5451
// (<em> typically indicates a note or caption, not an introduction).
5552
ct.WalkDown(func(n tree.Node) bool {

0 commit comments

Comments
 (0)