File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,7 +112,6 @@ type Content struct {
112112}
113113
114114func 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,
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ import (
2222// as HTML that can be used as a preview and for SEO purposes.
2323
2424func 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 {
You can’t perform that action at this time.
0 commit comments