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

Function dependArray

static/vuejs/vue.common.js:935–943  ·  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

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

Callers 1

defineReactive$$1Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected