MCPcopy Create free account
hub / github.com/aurelia/binding / createOverrideContext

Function createOverrideContext

src/scope.js:12–17  ·  view source on GitHub ↗
(bindingContext?: any, parentOverrideContext?: OverrideContext)

Source from the content-addressed store, hash-verified

10}
11
12export function createOverrideContext(bindingContext?: any, parentOverrideContext?: OverrideContext): OverrideContext {
13 return {
14 bindingContext: bindingContext,
15 parentOverrideContext: parentOverrideContext || null
16 };
17}
18
19export function getContextFor(name: string, scope: Scope, ancestor: number): any {
20 let oc = scope.overrideContext;

Callers 8

call-scope.spec.jsFile · 0.90
assign.spec.jsFile · 0.90
expressionObserverMethod · 0.90
createComputedObserverFunction · 0.90
createScopeForTestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected