MCPcopy Create free account
hub / github.com/csev/py4e / eventMixin

Function eventMixin

tools/pythonauto/static/codemirror/codemirror.js:5566–5569  ·  view source on GitHub ↗
(ctor)

Source from the content-addressed store, hash-verified

5564 CodeMirror.on = on; CodeMirror.off = off; CodeMirror.signal = signal;
5565
5566 function eventMixin(ctor) {
5567 ctor.prototype.on = function(type, f) {on(this, type, f);};
5568 ctor.prototype.off = function(type, f) {off(this, type, f);};
5569 }
5570
5571 // MISC UTILITIES
5572

Callers 1

codemirror.jsFile · 0.70

Calls 2

onFunction · 0.85
offFunction · 0.70

Tested by

no test coverage detected