Removed deprecated/experimental stuff

This commit is contained in:
Brandon Dyck 2019-04-26 19:23:27 -06:00
parent 391d7a912b
commit 9a4d859c7c
3 changed files with 0 additions and 113 deletions

View File

@ -38,22 +38,6 @@ func Action(value string) hatmill.Attrib {
}
}
// Align creates a "align" attribute
func Align(value string) hatmill.Attrib {
return hatmill.Attrib{
Key: "align",
Value: value,
}
}
// Allow creates a "allow" attribute
func Allow(value string) hatmill.Attrib {
return hatmill.Attrib{
Key: "allow",
Value: value,
}
}
// Alt creates a "alt" attribute
func Alt(value string) hatmill.Attrib {
return hatmill.Attrib{
@ -99,14 +83,6 @@ func Autoplay() hatmill.Attrib {
}
}
// Challenge creates a "challenge" attribute
func Challenge(value string) hatmill.Attrib {
return hatmill.Attrib{
Key: "challenge",
Value: value,
}
}
// Charset creates a "charset" attribute
func Charset(value string) hatmill.Attrib {
return hatmill.Attrib{
@ -357,14 +333,6 @@ func HttpEquiv(value string) hatmill.Attrib {
}
}
// Icon creates a "icon" attribute
func Icon(value string) hatmill.Attrib {
return hatmill.Attrib{
Key: "icon",
Value: value,
}
}
// Id creates a "id" attribute
func Id(value string) hatmill.Attrib {
return hatmill.Attrib{
@ -373,14 +341,6 @@ func Id(value string) hatmill.Attrib {
}
}
// Integrity creates a "integrity" attribute
func Integrity(value string) hatmill.Attrib {
return hatmill.Attrib{
Key: "integrity",
Value: value,
}
}
// Ismap creates a "ismap" attribute
func Ismap() hatmill.Attrib {
return hatmill.Attrib{
@ -396,14 +356,6 @@ func Itemprop(value string) hatmill.Attrib {
}
}
// Keytype creates a "keytype" attribute
func Keytype(value string) hatmill.Attrib {
return hatmill.Attrib{
Key: "keytype",
Value: value,
}
}
// Kind creates a "kind" attribute
func Kind(value string) hatmill.Attrib {
return hatmill.Attrib{
@ -428,14 +380,6 @@ func Lang(value string) hatmill.Attrib {
}
}
// Language creates a "language" attribute
func Language(value string) hatmill.Attrib {
return hatmill.Attrib{
Key: "language",
Value: value,
}
}
// List creates a "list" attribute
func List(value string) hatmill.Attrib {
return hatmill.Attrib{
@ -459,14 +403,6 @@ func Low(value float32) hatmill.Attrib {
}
}
// Manifest creates a "manifest" attribute
func Manifest(value string) hatmill.Attrib {
return hatmill.Attrib{
Key: "manifest",
Value: value,
}
}
// Max creates a "max" attribute
func Max(value float32) hatmill.Attrib {
return hatmill.Attrib{
@ -699,14 +635,6 @@ func Sizes(value string) hatmill.Attrib {
}
}
// Slot creates a "slot" attribute
func Slot(value string) hatmill.Attrib {
return hatmill.Attrib{
Key: "slot",
Value: value,
}
}
// Span creates a "span" attribute
func Span(value string) hatmill.Attrib {
return hatmill.Attrib{
@ -771,14 +699,6 @@ func Style(value string) hatmill.Attrib {
}
}
// Summary creates a "summary" attribute
func Summary(value string) hatmill.Attrib {
return hatmill.Attrib{
Key: "summary",
Value: value,
}
}
// Tabindex creates a "tabindex" attribute
func Tabindex(value int) hatmill.Attrib {
return hatmill.Attrib{
@ -803,14 +723,6 @@ func Title(value string) hatmill.Attrib {
}
}
// Translate creates a "translate" attribute
func Translate(value string) hatmill.Attrib {
return hatmill.Attrib{
Key: "translate",
Value: value,
}
}
// Type creates a "type" attribute
func Type(value string) hatmill.Attrib {
return hatmill.Attrib{

View File

@ -4,15 +4,12 @@
{"name": "accept-charset", "type": "string"},
{"name": "accesskey", "type": "string"},
{"name": "action", "type": "string"},
{"name": "align", "type": "string"},
{"name": "allow", "type": "string"},
{"name": "alt", "type": "string"},
{"name": "async", "type": "bool"},
{"name": "autocapitalize", "type": "string"},
{"name": "autocomplete", "type": "string"},
{"name": "autofocus", "type": "bool"},
{"name": "autoplay", "type": "bool"},
{"name": "challenge", "type": "string"},
{"name": "charset", "type": "string"},
{"name": "checked", "type": "bool"},
{"name": "cite", "type": "string"},
@ -45,20 +42,15 @@
{"name": "href", "type": "string"},
{"name": "hreflang", "type": "string"},
{"name": "http-equiv", "type": "string"},
{"name": "icon", "type": "string"},
{"name": "id", "type": "string"},
{"name": "integrity", "type": "string"},
{"name": "ismap", "type": "bool"},
{"name": "itemprop", "type": "string"},
{"name": "keytype", "type": "string"},
{"name": "kind", "type": "string"},
{"name": "label", "type": "string"},
{"name": "lang", "type": "string"},
{"name": "language", "type": "string"},
{"name": "list", "type": "string"},
{"name": "loop", "type": "bool"},
{"name": "low", "type": "float"},
{"name": "manifest", "type": "string"},
{"name": "max", "type": "float"},
{"name": "maxlength", "type": "int"},
{"name": "media", "type": "string"},
@ -89,7 +81,6 @@
{"name": "shape", "type": "string"},
{"name": "size", "type": "int"},
{"name": "sizes", "type": "string"},
{"name": "slot", "type": "string"},
{"name": "span", "type": "string"},
{"name": "spellcheck", "type": "string"},
{"name": "src", "type": "string"},
@ -98,11 +89,9 @@
{"name": "srcset", "type": "string"},
{"name": "start", "type": "string"},
{"name": "style", "type": "string"},
{"name": "summary", "type": "string"},
{"name": "tabindex", "type": "int"},
{"name": "target", "type": "string"},
{"name": "title", "type": "string"},
{"name": "translate", "type": "string"},
{"name": "type", "type": "string"},
{"name": "usemap", "type": "string"},
{"name": "value", "type": "string"},
@ -173,7 +162,6 @@
{"name": "map"},
{"name": "mark"},
{"name": "math"},
{"name": "menu"},
{"name": "meta", "void": true},
{"name": "meter"},
{"name": "nav"},

View File

@ -779,19 +779,6 @@ func Math(attribs ...hatmill.Attrib) func(children ...hatmill.Term) hatmill.Pare
}
}
// Menu creates a <menu> element.
func Menu(attribs ...hatmill.Attrib) func(children ...hatmill.Term) hatmill.ParentElement {
return func(children ...hatmill.Term) hatmill.ParentElement {
return hatmill.ParentElement{
VoidElement: hatmill.VoidElement{
TagName: "menu",
Attribs: attribs,
},
Children: children,
}
}
}
// Meta creates a <meta> element.
func Meta(attribs ...hatmill.Attrib) hatmill.VoidElement {
return hatmill.VoidElement{