Revert "feat(ivy): added namespaced attributes (#23899)"

This reverts commit d6989c80d3.
This commit is contained in:
Victor Berchet
2018-06-06 13:38:20 -07:00
parent 3128b26e5c
commit 07b4c8be42
6 changed files with 43 additions and 155 deletions

View File

@ -260,11 +260,8 @@ export function injectAttribute(attrNameToInject: string): string|undefined {
const attrs = tElement.attrs;
if (attrs) {
for (let i = 0; i < attrs.length; i = i + 2) {
let attrName = attrs[i];
const attrName = attrs[i];
if (attrName === AttributeMarker.SELECT_ONLY) break;
if (attrName === 0) { // NS.FULL
attrName = attrs[i += 2];
}
if (attrName == attrNameToInject) {
return attrs[i + 1] as string;
}