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

Function resolveModifiedOptions

static/vuejs/vue.runtime.js:3804–3815  ·  view source on GitHub ↗
(Ctor)

Source from the content-addressed store, hash-verified

3802}
3803
3804function resolveModifiedOptions (Ctor) {
3805 var modified;
3806 var latest = Ctor.options;
3807 var sealed = Ctor.sealedOptions;
3808 for (var key in latest) {
3809 if (latest[key] !== sealed[key]) {
3810 if (!modified) { modified = {}; }
3811 modified[key] = dedupe(latest[key], sealed[key]);
3812 }
3813 }
3814 return modified
3815}
3816
3817function dedupe (latest, sealed) {
3818 // 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