Commit bdce9bd6c593ef5eefdb979dd410ddb7ab12261d
1 parent
1e9a6085
[~] revert the removed of empty for attribute because it was need. So I prefer t…
…o rename it with an another name for avoiding confusion for compiler
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
web/making_a_web_site.anubis
| ... | ... | @@ -3716,7 +3716,7 @@ define String |
| 3716 | 3716 | |
| 3717 | 3717 | current = if h is |
| 3718 | 3718 | { |
| 3719 | - //empty then "", | |
| 3719 | + empty_attr then "", | |
| 3720 | 3720 | id(id_name) then |
| 3721 | 3721 | " id=\"" + id_name + "\"", |
| 3722 | 3722 | class(class_name) then "", //do nothing here, because we accumulate the class until we have some other attributes | ... | ... |
web/types/making_a_web_site.anubis
| ... | ... | @@ -641,7 +641,7 @@ public type HTML_tooltip: |
| 641 | 641 | |
| 642 | 642 | |
| 643 | 643 | public type CoreAttrs: |
| 644 | - //empty, | |
| 644 | + empty_attr, | |
| 645 | 645 | id (String), //A unique identifier for the element. |
| 646 | 646 | //There must not be multiple elements in a document that have the same id value. |
| 647 | 647 | class (String), //A name of a classification, or list of names of classifications, to which the element belongs | ... | ... |