Skip to content

Commit 7c570f2

Browse files
authored
Merge pull request #50 from webxdc/adb/add-isbroadcast-isappsender
add new webxdc.isAppSender and webxdc.isBroadcast APIs
2 parents ec8980a + 0b9c3c4 commit 7c570f2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

js/info.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ window.addEventListener("load", () => {
55
container.append(h("div", {}, "webxdc.selfName: ", h("span", {style: "background:#DDD;word-wrap: break-word;"}, webxdc.selfName)))
66
container.append(h("div", {}, "webxdc.selfAddr: ", h("span", {style: "background:#DDD;word-wrap: break-word;"}, webxdc.selfAddr)))
77

8+
container.append(h("div", {}, "webxdc.isAppSender: ", webxdc.isAppSender));
9+
container.append(h("div", {}, "webxdc.isBroadcast: ", webxdc.isBroadcast));
10+
811
container.append(h("div", {}, "webxdc.sendUpdateInterval: " + webxdc.sendUpdateInterval))
912
container.append(h("div", {}, "webxdc.sendUpdateMaxSize: " + webxdc.sendUpdateMaxSize))
1013

0 commit comments

Comments
 (0)