MCPcopy Index your code
hub / github.com/csev/py4e / docMethodOp

Function docMethodOp

tools/pythonauto/static/codemirrorepl/codemirror.js:1981–1989  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

1979 };
1980 }
1981 function docMethodOp(f) {
1982 return function() {
1983 var cm = this.cm;
1984 if (!cm || cm.curOp) return f.apply(this, arguments);
1985 startOperation(cm);
1986 try { return f.apply(this, arguments); }
1987 finally { endOperation(cm); }
1988 };
1989 }
1990
1991 // VIEW TRACKING
1992

Callers 1

codemirror.jsFile · 0.85

Calls 2

startOperationFunction · 0.70
endOperationFunction · 0.70

Tested by

no test coverage detected