MCPcopy Index your code
hub / github.com/DHTMLX/gantt / docMethodOp

Function docMethodOp

samples/common/codehighlight/codemirror.js:3944–3952  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

3942 }
3943 }
3944 function docMethodOp(f) {
3945 return function() {
3946 var cm = this.cm;
3947 if (!cm || cm.curOp) { return f.apply(this, arguments) }
3948 startOperation(cm);
3949 try { return f.apply(this, arguments) }
3950 finally { endOperation(cm); }
3951 }
3952 }
3953
3954 // HIGHLIGHT WORKER
3955

Callers 1

codemirror.jsFile · 0.85

Calls 2

startOperationFunction · 0.85
endOperationFunction · 0.85

Tested by

no test coverage detected