MCPcopy Create free account
hub / github.com/TruthHun/BookStack / resolveModifiedOptions

Function resolveModifiedOptions

static/vuejs/vue.runtime.common.js:3810–3821  ·  view source on GitHub ↗
(Ctor)

Source from the content-addressed store, hash-verified

3808}
3809
3810function resolveModifiedOptions (Ctor) {
3811 var modified;
3812 var latest = Ctor.options;
3813 var sealed = Ctor.sealedOptions;
3814 for (var key in latest) {
3815 if (latest[key] !== sealed[key]) {
3816 if (!modified) { modified = {}; }
3817 modified[key] = dedupe(latest[key], sealed[key]);
3818 }
3819 }
3820 return modified
3821}
3822
3823function dedupe (latest, sealed) {
3824 // 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