MCPcopy Create free account
hub / github.com/sql-js/sql.js / docMethodOp

Function docMethodOp

GUI/codemirror/lib/codemirror.js:1995–2003  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

1993 };
1994 }
1995 function docMethodOp(f) {
1996 return function() {
1997 var cm = this.cm;
1998 if (!cm || cm.curOp) return f.apply(this, arguments);
1999 startOperation(cm);
2000 try { return f.apply(this, arguments); }
2001 finally { endOperation(cm); }
2002 };
2003 }
2004
2005 // VIEW TRACKING
2006

Callers 1

codemirror.jsFile · 0.85

Calls 2

startOperationFunction · 0.85
endOperationFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…