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