refactor(compiler/template_parser): export `createElementCssSelector`

This is needed in `ngUpgrade`.
This commit is contained in:
Peter Bacon Darwin 2016-11-02 14:49:07 +00:00 committed by Victor Berchet
parent 79671a6f12
commit 3e90605db9
1 changed files with 2 additions and 1 deletions

View File

@ -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 elNameNoNs = splitNsName(elementName)[1];