sync working code, and import type-doc

This commit is contained in:
lchen committed 2023-07-17 17:24:49 +08:00
1 parent 7ab7a7094a
commit 3e9ee59178
43 files changed
+1024 -1553

No files matched your search

+4 -4
View File
@@ -40,8 +40,8 @@ function createRadiobox(opts = {}) {
if (opts.enabled === false) {
input.disabled = true;
}
if (opts.customerAttributes != null) {
for (let entry of Object.entries(opts.customerAttributes)) {
if (opts.customAttributes != null) {
for (let entry of Object.entries(opts.customAttributes)) {
input.setAttribute(entry[0], entry[1]);
}
}
@@ -66,8 +66,8 @@ function createCheckbox(opts = {}) {
if (opts.enabled === false) {
input.disabled = true;
}
if (opts.customerAttributes != null) {
for (let entry of Object.entries(opts.customerAttributes)) {
if (opts.customAttributes != null) {
for (let entry of Object.entries(opts.customAttributes)) {
input.setAttribute(entry[0], entry[1]);
}
}