MCPcopy
hub / github.com/SnapDrop/snapdrop / on

Method on

client/scripts/network.js:513–515  ·  view source on GitHub ↗
(type, callback)

Source from the content-addressed store, hash-verified

511 }
512
513 static on(type, callback) {
514 return window.addEventListener(type, callback, false);
515 }
516
517 static off(type, callback) {
518 return window.removeEventListener(type, callback, false);

Callers 15

constructorMethod · 0.80
constructorMethod · 0.80
ui.jsFile · 0.80
constructorMethod · 0.80
_bindListenersMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
constructorMethod · 0.80
_notifyMethod · 0.80
constructorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected