MCPcopy
hub / github.com/HelloZeroNet/ZeroNet / constructor

Method constructor

plugins/ContentFilter/media/js/ZeroFrame.js:14–21  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

12
13class ZeroFrame {
14 constructor(url) {
15 this.url = url
16 this.waiting_cb = {}
17 this.wrapper_nonce = document.location.href.replace(/.*wrapper_nonce=([A-Za-z0-9]+).*/, "$1")
18 this.connect()
19 this.next_message_id = 1
20 this.init()
21 }
22
23 init() {
24 return this

Callers 3

all.jsFile · 0.80
00-jquery.min.jsFile · 0.80
all.jsFile · 0.80

Calls 2

connectMethod · 0.95
initMethod · 0.95

Tested by

no test coverage detected