MCPcopy Create free account
hub / github.com/nwutils/nw-sample-apps / wrapHandler

Function wrapHandler

mini-code-edit/cm/lib/codemirror.js:2867–2867  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

2865 }
2866 else {
2867 var wrapHandler = function(event) {handler(event || window.event);};
2868 node.attachEvent("on" + type, wrapHandler);
2869 if (disconnect) return function() {node.detachEvent("on" + type, wrapHandler);};
2870 }

Callers

nothing calls this directly

Calls 1

handlerFunction · 0.50

Tested by

no test coverage detected