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