Revert "refactor(ivy): Use AttributeMarker instead of NS (#23899)"

This reverts commit 1208a35373.
This commit is contained in:
Victor Berchet
2018-06-06 13:38:18 -07:00
parent c151f9cdc8
commit 4f5b01a98a
5 changed files with 27 additions and 17 deletions

View File

@ -262,7 +262,7 @@ export function injectAttribute(attrNameToInject: string): string|undefined {
for (let i = 0; i < attrs.length; i = i + 2) {
let attrName = attrs[i];
if (attrName === AttributeMarker.SELECT_ONLY) break;
if (attrName === AttributeMarker.NAMESPACE_URI) {
if (attrName === 0) { // NS.FULL
attrName = attrs[i += 2];
}
if (attrName == attrNameToInject) {