MCPcopy Create free account
hub / github.com/Tampermonkey/tampermonkey / wrapHandler

Function wrapHandler

src/cm/codemirror.js:2981–2981  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

2979 if (disconnect) return function() {node.removeEventListener(type, handler, false);};
2980 } else {
2981 var wrapHandler = function(event) {handler(event || window.event);};
2982 node.attachEvent("on" + type, wrapHandler);
2983 if (disconnect) return function() {node.detachEvent("on" + type, wrapHandler);};
2984 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…