Skip to content

Commit

Permalink
style: update DOMConstructor.js
Browse files Browse the repository at this point in the history
  • Loading branch information
teaSummer committed Jun 26, 2024
1 parent 76f0d36 commit 7ed342e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/DOMConstructor.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class DOMLauncherList {
download: "https://www.example.com",
version: "1.0.x.x"
},
__domID: undefined,
__domClass: undefined,
__domID: void 0,
__domClass: void 0,
...item
};

Expand Down Expand Up @@ -81,8 +81,8 @@ class DOMSearchableList {
search: "https://www.example.com",
note: "",
url: "https://www.example.com",
__domID: undefined,
__domClass: undefined,
__domID: void 0,
__domClass: void 0,
...item
};

Expand Down Expand Up @@ -123,7 +123,7 @@ class DOMDeviceList {

static show() {
let dom = '';
for (const [deviceName, supportedDevice, description] of supportedDevices) {
for (const [deviceName, supportedDevice] of supportedDevices) {
dom += `<mdui-menu-item label="${deviceName}"><div slot="custom"><div>${supportedDevice}</div><div class="secondary" al="${deviceName}.tip"></div></div></mdui-menu-item>`;
};
dom += `<mdui-menu-item value="unsupported" disabled hidden><div slot="custom" class="custom-item"><div al="unsupported"></div></div></mdui-menu-item>
Expand Down

0 comments on commit 7ed342e

Please sign in to comment.