(Ctor)
| 5027 | } |
| 5028 | |
| 5029 | function resolveConstructorOptions (Ctor) { |
| 5030 | var options = Ctor.options; |
| 5031 | if (Ctor.super) { |
| 5032 | var superOptions = resolveConstructorOptions(Ctor.super); |
| 5033 | var cachedSuperOptions = Ctor.superOptions; |
| 5034 | if (superOptions !== cachedSuperOptions) { |
| 5035 | // super option changed, |
| 5036 | // need to resolve new options. |
| 5037 | Ctor.superOptions = superOptions; |
| 5038 | // check if there are any late-modified/attached options (#4976) |
| 5039 | var modifiedOptions = resolveModifiedOptions(Ctor); |
| 5040 | // update base extend options |
| 5041 | if (modifiedOptions) { |
| 5042 | extend(Ctor.extendOptions, modifiedOptions); |
| 5043 | } |
| 5044 | options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions); |
| 5045 | if (options.name) { |
| 5046 | options.components[options.name] = Ctor; |
| 5047 | } |
| 5048 | } |
| 5049 | } |
| 5050 | return options |
| 5051 | } |
| 5052 | |
| 5053 | function resolveModifiedOptions (Ctor) { |
| 5054 | var modified; |
no test coverage detected