MCPcopy Index your code
hub / github.com/TruthHun/BookStack / dependArray

Function dependArray

static/vuejs/vue.runtime.esm.js:929–937  ·  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

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

Callers 1

defineReactive$$1Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected