(op, source)
| 286 | doc.submitOp({p: ['list', 0], li: 2}, {source: true}); |
| 287 | } |
| 288 | function opHandler(op, source) { |
| 289 | if (source) { |
| 290 | return; |
| 291 | } |
| 292 | doc.off('op', opHandler); |
| 293 | doc.submitOp({p: ['list', 0], li: 3}, {source: true}); |
| 294 | } |
| 295 | doc2.submitOp({p: ['list'], oi: []}, function() { |
| 296 | doc.fetch(function() { |
| 297 | doc.on('before op', beforeOpHandler); |
nothing calls this directly
no outgoing calls
no test coverage detected