(Ctor)
| 3778 | } |
| 3779 | |
| 3780 | function resolveConstructorOptions (Ctor) { |
| 3781 | var options = Ctor.options; |
| 3782 | if (Ctor.super) { |
| 3783 | var superOptions = resolveConstructorOptions(Ctor.super); |
| 3784 | var cachedSuperOptions = Ctor.superOptions; |
| 3785 | if (superOptions !== cachedSuperOptions) { |
| 3786 | // super option changed, |
| 3787 | // need to resolve new options. |
| 3788 | Ctor.superOptions = superOptions; |
| 3789 | // check if there are any late-modified/attached options (#4976) |
| 3790 | var modifiedOptions = resolveModifiedOptions(Ctor); |
| 3791 | // update base extend options |
| 3792 | if (modifiedOptions) { |
| 3793 | extend(Ctor.extendOptions, modifiedOptions); |
| 3794 | } |
| 3795 | options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions); |
| 3796 | if (options.name) { |
| 3797 | options.components[options.name] = Ctor; |
| 3798 | } |
| 3799 | } |
| 3800 | } |
| 3801 | return options |
| 3802 | } |
| 3803 | |
| 3804 | function resolveModifiedOptions (Ctor) { |
| 3805 | var modified; |
no test coverage detected