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

Function Observer

static/vuejs/vue.runtime.esm.js:721–735  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

719 * collect dependencies and dispatches updates.
720 */
721var Observer = function Observer (value) {
722 this.value = value;
723 this.dep = new Dep();
724 this.vmCount = 0;
725 def(value, '__ob__', this);
726 if (Array.isArray(value)) {
727 var augment = hasProto
728 ? protoAugment
729 : copyAugment;
730 augment(value, arrayMethods, arrayKeys);
731 this.observeArray(value);
732 } else {
733 this.walk(value);
734 }
735};
736
737/**
738 * Walk through each property and convert them into

Callers

nothing calls this directly

Calls 1

defFunction · 0.70

Tested by

no test coverage detected