Method
getModule
(component: string, moduleName: string)
Source from the content-addressed store, hash-verified
| 122 | } |
| 123 | |
| 124 | getModule(component: string, moduleName: string): Module { |
| 125 | const nodes = Object.values(this.nodeMap[component]).filter((node: Node) => { |
| 126 | return node.module === moduleName; |
| 127 | }); |
| 128 | |
| 129 | return { |
| 130 | key: moduleName, |
| 131 | bindings: nodes |
| 132 | }; |
| 133 | } |
| 134 | |
| 135 | getScope(component: string, scope: string): Scope { |
| 136 | const nodes = Object.values(this.nodeMap[component]).filter((node: Node) => { |
Tested by
no test coverage detected