MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / connect

Method connect

plugins/ContentFilter/media/js/ZeroFrame.js:27–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 }
26
27 connect() {
28 this.target = window.parent
29 window.addEventListener('message', e => this.onMessage(e), false)
30 this.cmd(CMD_INNER_READY)
31 }
32
33 onMessage(e) {
34 let message = e.data

Callers 8

constructorMethod · 0.95
_make_socketMethod · 0.45
ZeroFrameFunction · 0.45
all.jsFile · 0.45
three.min.jsFile · 0.45
actionGetPiecefieldsMethod · 0.45
actionSetPiecefieldsMethod · 0.45
ZeroFrameFunction · 0.45

Calls 2

onMessageMethod · 0.95
cmdMethod · 0.95

Tested by

no test coverage detected