[srt]
This commit is contained in:
parent
19f045e25b
commit
051ce5f76b
|
|
@ -57,24 +57,6 @@ class type_output_html implements type_output<string>
|
||||||
: [new lib_plankton.xml.class_node_text(label)]
|
: [new lib_plankton.xml.class_node_text(label)]
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
"group": ({"members": members}) => new lib_plankton.xml.class_node_complex(
|
|
||||||
"div",
|
|
||||||
{
|
|
||||||
"class": "sd-group",
|
|
||||||
},
|
|
||||||
(
|
|
||||||
members
|
|
||||||
.map(
|
|
||||||
x => this.render_object_internal(
|
|
||||||
x,
|
|
||||||
{
|
|
||||||
"depth": options.depth,
|
|
||||||
"level": options.level,
|
|
||||||
}
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
),
|
|
||||||
"section": ({"title": title, "content": content}) => new lib_plankton.xml.class_node_complex(
|
"section": ({"title": title, "content": content}) => new lib_plankton.xml.class_node_complex(
|
||||||
"section",
|
"section",
|
||||||
{
|
{
|
||||||
|
|
@ -97,6 +79,24 @@ class type_output_html implements type_output<string>
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
|
"group": ({"members": members}) => new lib_plankton.xml.class_node_complex(
|
||||||
|
"div",
|
||||||
|
{
|
||||||
|
"class": "sd-group",
|
||||||
|
},
|
||||||
|
(
|
||||||
|
members
|
||||||
|
.map(
|
||||||
|
x => this.render_object_internal(
|
||||||
|
x,
|
||||||
|
{
|
||||||
|
"depth": options.depth,
|
||||||
|
"level": options.level,
|
||||||
|
}
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
),
|
||||||
"list": ({"items": items}) => new lib_plankton.xml.class_node_complex(
|
"list": ({"items": items}) => new lib_plankton.xml.class_node_complex(
|
||||||
"ul",
|
"ul",
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue