Revert "feat(ivy): added new namespace and element instructions to JIT environment (#23899)"

This reverts commit acf270d724.
This commit is contained in:
Victor Berchet
2018-06-06 13:38:00 -07:00
parent 9dd647b087
commit 7e73287676
18 changed files with 75 additions and 126 deletions

View File

@ -261,8 +261,8 @@ export function injectAttribute(attrNameToInject: string): string|undefined {
if (attrs) {
for (let i = 0; i < attrs.length; i = i + 2) {
let attrName = attrs[i];
if (attrName === AttributeMarker.SelectOnly) break;
if (attrName === AttributeMarker.NamespaceUri) {
if (attrName === AttributeMarker.SELECT_ONLY) break;
if (attrName === AttributeMarker.NAMESPACE_URI) {
attrName = attrs[i += 2];
}
if (attrName == attrNameToInject) {