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

Function createComputedGetter

static/vuejs/vue.runtime.common.js:2804–2817  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

2802}
2803
2804function createComputedGetter (key) {
2805 return function computedGetter () {
2806 var watcher = this._computedWatchers && this._computedWatchers[key];
2807 if (watcher) {
2808 if (watcher.dirty) {
2809 watcher.evaluate();
2810 }
2811 if (Dep.target) {
2812 watcher.depend();
2813 }
2814 return watcher.value
2815 }
2816 }
2817}
2818
2819function initMethods (vm, methods) {
2820 var props = vm.$options.props;

Callers 1

defineComputedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected