(f)
| 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 |
no test coverage detected