Commit 827f9010646bbf1c31b0de0d0d18b4edcbe82c47
1 parent
82217d22
add boolean for CoreAttrs
Showing
1 changed file
with
8 additions
and
0 deletions
Show diff stats
web/types/making_a_web_site.anubis
| @@ -571,6 +571,14 @@ public type CoreAttrs: | @@ -571,6 +571,14 @@ public type CoreAttrs: | ||
| 571 | spellcheck(Bool) //Specifies whether the element represents an element whose contents are subject to spell checking and grammar checking. | 571 | spellcheck(Bool) //Specifies whether the element represents an element whose contents are subject to spell checking and grammar checking. |
| 572 | . | 572 | . |
| 573 | 573 | ||
| 574 | +public define CoreAttrs | ||
| 575 | + boolean | ||
| 576 | + ( | ||
| 577 | + String name | ||
| 578 | + )= | ||
| 579 | + attr(name, name) | ||
| 580 | +. | ||
| 581 | + | ||
| 574 | public type HTTP_Answer: | 582 | public type HTTP_Answer: |
| 575 | html_page (HTTP_Status /*http_status*/, | 583 | html_page (HTTP_Status /*http_status*/, |
| 576 | List(HTML_Head_Tag) /*html <head> tags*/, | 584 | List(HTML_Head_Tag) /*html <head> tags*/, |