(target, sourceKey, key)
| 2641 | }; |
| 2642 | |
| 2643 | function proxy (target, sourceKey, key) { |
| 2644 | sharedPropertyDefinition.get = function proxyGetter () { |
| 2645 | return this[sourceKey][key] |
| 2646 | }; |
| 2647 | sharedPropertyDefinition.set = function proxySetter (val) { |
| 2648 | this[sourceKey][key] = val; |
| 2649 | }; |
| 2650 | Object.defineProperty(target, key, sharedPropertyDefinition); |
| 2651 | } |
| 2652 | |
| 2653 | function initState (vm) { |
| 2654 | vm._watchers = []; |
no outgoing calls
no test coverage detected