(private _rootElement$: Stream<Element>,
private _sanitation$: Stream<null>,
private _namespace: Array<string> = [],
public _isolateModule: IsolateModule,
public _delegators: Map<string, EventDelegator>,
private _name: string)
| 87 | export class MainDOMSource implements DOMSource { |
| 88 | |
| 89 | constructor(private _rootElement$: Stream<Element>, |
| 90 | private _sanitation$: Stream<null>, |
| 91 | private _namespace: Array<string> = [], |
| 92 | public _isolateModule: IsolateModule, |
| 93 | public _delegators: Map<string, EventDelegator>, |
| 94 | private _name: string) { |
| 95 | this.isolateSource = isolateSource; |
| 96 | this.isolateSink = (sink, scope) => { |
| 97 | const prevFullScope = getFullScope(this._namespace); |
| 98 | const nextFullScope = [prevFullScope, scope].filter(x => !!x).join('-'); |
| 99 | return internalIsolateSink(sink, nextFullScope) as Stream<VNode>; |
| 100 | }; |
| 101 | } |
| 102 | |
| 103 | public elements(): MemoryStream<Element> { |
| 104 | let output$: Stream<Element | Array<Element>>; |
nothing calls this directly
no test coverage detected