Skip to content

Commit 911a260

Browse files
committed
feat: Extend to pull lists from TabSet Tabs.
1 parent 247a799 commit 911a260

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ module.exports = function (cardscript) {
4646
buildLabelList(element.id, element.choices)
4747
}
4848
break
49+
case 'TabSet':
50+
element.tabs.forEach(parseElement)
51+
break
52+
case 'Tab':
53+
element.items.forEach(parseElement)
54+
break
4955
case 'FactSet':
5056
for (const fact of element.facts) {
5157
if (fact.choices) {

0 commit comments

Comments
 (0)