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

Function clipPosArray

external/.scrollLibs.js:1138–1144  ·  view source on GitHub ↗
(doc, array)

Source from the content-addressed store, hash-verified

1136 }
1137 }
1138 function clipPosArray(doc, array) {
1139 var out = []
1140 for (var i = 0; i < array.length; i++) {
1141 out[i] = clipPos(doc, array[i])
1142 }
1143 return out
1144 }
1145
1146 // Optimize some code when these features are not used.
1147 var sawReadOnlySpans = false,

Callers 1

.scrollLibs.jsFile · 0.85

Calls 1

clipPosFunction · 0.85

Tested by

no test coverage detected