MCPcopy Create free account
hub / github.com/breck7/scroll / endOperations

Function endOperations

external/.scrollLibs.js:5344–5381  ·  view source on GitHub ↗
(group)

Source from the content-addressed store, hash-verified

5342 // The DOM updates done when an operation finishes are batched so
5343 // that the minimum number of relayouts are required.
5344 function endOperations(group) {
5345 var ops = group.ops
5346 for (
5347 var i = 0;
5348 i < ops.length;
5349 i++ // Read DOM
5350 ) {
5351 endOperation_R1(ops[i])
5352 }
5353 for (
5354 var i$1 = 0;
5355 i$1 < ops.length;
5356 i$1++ // Write DOM (maybe)
5357 ) {
5358 endOperation_W1(ops[i$1])
5359 }
5360 for (
5361 var i$2 = 0;
5362 i$2 < ops.length;
5363 i$2++ // Read DOM
5364 ) {
5365 endOperation_R2(ops[i$2])
5366 }
5367 for (
5368 var i$3 = 0;
5369 i$3 < ops.length;
5370 i$3++ // Write DOM (maybe)
5371 ) {
5372 endOperation_W2(ops[i$3])
5373 }
5374 for (
5375 var i$4 = 0;
5376 i$4 < ops.length;
5377 i$4++ // Read DOM
5378 ) {
5379 endOperation_finish(ops[i$4])
5380 }
5381 }
5382
5383 function endOperation_R1(op) {
5384 var cm = op.cm,

Callers 1

endOperationFunction · 0.85

Calls 5

endOperation_R1Function · 0.85
endOperation_W1Function · 0.85
endOperation_R2Function · 0.85
endOperation_W2Function · 0.85
endOperation_finishFunction · 0.85

Tested by

no test coverage detected