Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
update(state: OutletState) {
this.outletState.outlets.main = state;
dirty(this.tag);
}
}
rerender() {
dirty(this[DIRTY_TAG]);
this._super();
},
export function markObjectAsDirty(obj: object, propertyKey: string, _meta?: Meta): void {
let meta = _meta === undefined ? metaFor(obj) : _meta;
let objectTag = meta.readableTag();
if (objectTag !== undefined) {
if (DEBUG) {
assertTagNotConsumed!(objectTag, obj);
}
dirty(objectTag);
}
let tags = meta.readableTags();
let propertyTag = tags !== undefined ? tags[propertyKey] : undefined;
if (propertyTag !== undefined) {
if (DEBUG) {
assertTagNotConsumed!(propertyTag, obj, propertyKey);
}
dirty(propertyTag);
}
if (objectTag !== undefined || propertyTag !== undefined) {
ensureRunloop();
}
if (DEBUG) {
assertTagNotConsumed!(objectTag, obj);
}
dirty(objectTag);
}
let tags = meta.readableTags();
let propertyTag = tags !== undefined ? tags[propertyKey] : undefined;
if (propertyTag !== undefined) {
if (DEBUG) {
assertTagNotConsumed!(propertyTag, obj, propertyKey);
}
dirty(propertyTag);
}
if (objectTag !== undefined || propertyTag !== undefined) {
ensureRunloop();
}
}
join(() => dirty(this[RECOMPUTE_TAG]));
},