MCPcopy Create free account
hub / github.com/dajie111/nodeseek-userscript / setupMultiWindow

Method setupMultiWindow

Clockin.js:46–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44
45 // 多窗口协调机制
46 setupMultiWindow() {
47 this.electMaster();
48 this.startHeartbeat();
49 this.listenStorageChanges();
50 }
51
52 // 竞选主窗口
53 electMaster() {

Callers 1

initMethod · 0.95

Calls 3

electMasterMethod · 0.95
startHeartbeatMethod · 0.95
listenStorageChangesMethod · 0.95

Tested by

no test coverage detected