MCPcopy Create free account
hub / github.com/WebReflection/neverland / dispatchAll

Function dispatchAll

index.js:205–208  ·  view source on GitHub ↗
(nodes, type, wsin, wsout)

Source from the content-addressed store, hash-verified

203 }
204
205 function dispatchAll(nodes, type, wsin, wsout) {
206 for (var node, event = new Event(type), length = nodes.length, i = 0; i < length; (node = nodes[i++]).nodeType === 1 && dispatchTarget(node, event, type, wsin, wsout)) {
207 }
208 }
209
210 function dispatchTarget(node, event, type, wsin, wsout) {
211 if (observer.has(node) && !wsin.has(node)) {

Callers 1

changesFunction · 0.70

Calls 1

dispatchTargetFunction · 0.70

Tested by

no test coverage detected