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

Function proxy

static/vuejs/vue.common.js:2649–2657  ·  view source on GitHub ↗
(target, sourceKey, key)

Source from the content-addressed store, hash-verified

2647};
2648
2649function proxy (target, sourceKey, key) {
2650 sharedPropertyDefinition.get = function proxyGetter () {
2651 return this[sourceKey][key]
2652 };
2653 sharedPropertyDefinition.set = function proxySetter (val) {
2654 this[sourceKey][key] = val;
2655 };
2656 Object.defineProperty(target, key, sharedPropertyDefinition);
2657}
2658
2659function initState (vm) {
2660 vm._watchers = [];

Callers 3

loopFunction · 0.70
initDataFunction · 0.70
initProps$1Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected