refactor(compiler/template_parser): export `createElementCssSelector`
This is needed in `ngUpgrade`.
This commit is contained in:
parent
79671a6f12
commit
3e90605db9
|
@ -810,7 +810,8 @@ class ElementContext {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function createElementCssSelector(elementName: string, matchableAttrs: string[][]): CssSelector {
|
export function createElementCssSelector(
|
||||||
|
elementName: string, matchableAttrs: string[][]): CssSelector {
|
||||||
const cssSelector = new CssSelector();
|
const cssSelector = new CssSelector();
|
||||||
const elNameNoNs = splitNsName(elementName)[1];
|
const elNameNoNs = splitNsName(elementName)[1];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue