perf(ivy): use string concatination instead template string (#30453)
PR Close #30453
This commit is contained in:
parent
2cdbe9b2ef
commit
975845596d
@ -157,7 +157,7 @@ class DefaultDomRenderer2 implements Renderer2 {
|
|||||||
|
|
||||||
setAttribute(el: any, name: string, value: string, namespace?: string): void {
|
setAttribute(el: any, name: string, value: string, namespace?: string): void {
|
||||||
if (namespace) {
|
if (namespace) {
|
||||||
name = `${namespace}:${name}`;
|
name = namespace + ':' + name;
|
||||||
// TODO(benlesh): Ivy may cause issues here because it's passing around
|
// TODO(benlesh): Ivy may cause issues here because it's passing around
|
||||||
// full URIs for namespaces, therefore this lookup will fail.
|
// full URIs for namespaces, therefore this lookup will fail.
|
||||||
const namespaceUri = NAMESPACE_URIS[namespace];
|
const namespaceUri = NAMESPACE_URIS[namespace];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user