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

Function dependArray

static/vuejs/vue.js:939–947  ·  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

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

Callers 1

defineReactive$$1Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected