(children)
| 340 | this.loading = true; |
| 341 | |
| 342 | const resolve = (children) => { |
| 343 | this.loaded = true; |
| 344 | this.loading = false; |
| 345 | this.childNodes = []; |
| 346 | |
| 347 | this.doCreateChildren(children, defaultProps); |
| 348 | |
| 349 | this.updateLeafState(); |
| 350 | if (callback) { |
| 351 | callback.call(this, children); |
| 352 | } |
| 353 | }; |
| 354 | |
| 355 | this.store.load(this, resolve); |
| 356 | } else { |
no test coverage detected