MCPcopy Create free account
hub / github.com/TruthHun/BookStack / dependArray

Function dependArray

static/vuejs/vue.esm.js:933–941  ·  view source on GitHub ↗

* Collect dependencies on array elements when the array is touched, since * we cannot intercept array element access like property getters.

(value)

Source from the content-addressed store, hash-verified

931 * we cannot intercept array element access like property getters.
932 */
933function dependArray (value) {
934 for (var e = (void 0), i = 0, l = value.length; i < l; i++) {
935 e = value[i];
936 e && e.__ob__ && e.__ob__.dep.depend();
937 if (Array.isArray(e)) {
938 dependArray(e);
939 }
940 }
941}
942
943/* */
944

Callers 1

defineReactive$$1Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected