(Ctor)
| 3788 | } |
| 3789 | |
| 3790 | function resolveConstructorOptions (Ctor) { |
| 3791 | var options = Ctor.options; |
| 3792 | if (Ctor.super) { |
| 3793 | var superOptions = resolveConstructorOptions(Ctor.super); |
| 3794 | var cachedSuperOptions = Ctor.superOptions; |
| 3795 | if (superOptions !== cachedSuperOptions) { |
| 3796 | // super option changed, |
| 3797 | // need to resolve new options. |
| 3798 | Ctor.superOptions = superOptions; |
| 3799 | // check if there are any late-modified/attached options (#4976) |
| 3800 | var modifiedOptions = resolveModifiedOptions(Ctor); |
| 3801 | // update base extend options |
| 3802 | if (modifiedOptions) { |
| 3803 | extend(Ctor.extendOptions, modifiedOptions); |
| 3804 | } |
| 3805 | options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions); |
| 3806 | if (options.name) { |
| 3807 | options.components[options.name] = Ctor; |
| 3808 | } |
| 3809 | } |
| 3810 | } |
| 3811 | return options |
| 3812 | } |
| 3813 | |
| 3814 | function resolveModifiedOptions (Ctor) { |
| 3815 | var modified; |
no test coverage detected