(vm, direct)
| 2230 | } |
| 2231 | |
| 2232 | function activateChildComponent (vm, direct) { |
| 2233 | if (direct) { |
| 2234 | vm._directInactive = false; |
| 2235 | if (isInInactiveTree(vm)) { |
| 2236 | return |
| 2237 | } |
| 2238 | } else if (vm._directInactive) { |
| 2239 | return |
| 2240 | } |
| 2241 | if (vm._inactive || vm._inactive == null) { |
| 2242 | vm._inactive = false; |
| 2243 | for (var i = 0; i < vm.$children.length; i++) { |
| 2244 | activateChildComponent(vm.$children[i]); |
| 2245 | } |
| 2246 | callHook(vm, 'activated'); |
| 2247 | } |
| 2248 | } |
| 2249 | |
| 2250 | function deactivateChildComponent (vm, direct) { |
| 2251 | if (direct) { |
no test coverage detected