Allow custom function comments in specs

This commit is contained in:
2019-05-14 21:15:18 -06:00
parent e6b8f04dcf
commit f80148fdf6
5 changed files with 35 additions and 12 deletions

View File

@ -5,7 +5,7 @@ package element
import "gitlab.codemonkeysoftware.net/b/hatmill"
// A creates a <a> element.
// A creates a hyperlink.
func A(attribs ...hatmill.Attrib) func(children ...hatmill.Term) hatmill.ParentElement {
return func(children ...hatmill.Term) hatmill.ParentElement {
return hatmill.ParentElement{