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

Function dependArray

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

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

Callers 1

defineReactive$$1Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected