(f)
| 3196 | }; |
| 3197 | } |
| 3198 | function docMethodOp(f) { |
| 3199 | return function() { |
| 3200 | var cm = this.cm; |
| 3201 | if (!cm || cm.curOp) return f.apply(this, arguments); |
| 3202 | startOperation(cm); |
| 3203 | try { return f.apply(this, arguments); } |
| 3204 | finally { endOperation(cm); } |
| 3205 | }; |
| 3206 | } |
| 3207 | |
| 3208 | // VIEW TRACKING |
| 3209 |
no test coverage detected