perf(ivy): use string concatination instead template string (#30453)

PR Close #30453
This commit is contained in:
Misko Hevery 2019-05-14 21:21:26 -07:00 committed by Jason Aden
parent 2cdbe9b2ef
commit 975845596d
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ class DefaultDomRenderer2 implements Renderer2 {
setAttribute(el: any, name: string, value: string, namespace?: string): void {
if (namespace) {
name = `${namespace}:${name}`;
name = namespace + ':' + name;
// TODO(benlesh): Ivy may cause issues here because it's passing around
// full URIs for namespaces, therefore this lookup will fail.
const namespaceUri = NAMESPACE_URIS[namespace];