MCPcopy Index your code
hub / github.com/TruthHun/BookStack / resolveModifiedOptions

Function resolveModifiedOptions

static/vuejs/vue.runtime.esm.js:3808–3819  ·  view source on GitHub ↗
(Ctor)

Source from the content-addressed store, hash-verified

3806}
3807
3808function resolveModifiedOptions (Ctor) {
3809 var modified;
3810 var latest = Ctor.options;
3811 var sealed = Ctor.sealedOptions;
3812 for (var key in latest) {
3813 if (latest[key] !== sealed[key]) {
3814 if (!modified) { modified = {}; }
3815 modified[key] = dedupe(latest[key], sealed[key]);
3816 }
3817 }
3818 return modified
3819}
3820
3821function dedupe (latest, sealed) {
3822 // compare latest and sealed to ensure lifecycle hooks won't be duplicated

Callers 1

Calls 1

dedupeFunction · 0.70

Tested by

no test coverage detected