From 480c94814c2a6680bfe3fa09eb29a73a5f722691 Mon Sep 17 00:00:00 2001 From: Maira Bello Date: Fri, 21 Oct 2016 13:50:46 -0300 Subject: [PATCH] Stops calling buildConfigFromCall within handleRegularCall --- .../metal-incremental-dom/src/IncrementalDomRenderer.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/metal-incremental-dom/src/IncrementalDomRenderer.js b/packages/metal-incremental-dom/src/IncrementalDomRenderer.js index edd6b68d..b1e201ea 100644 --- a/packages/metal-incremental-dom/src/IncrementalDomRenderer.js +++ b/packages/metal-incremental-dom/src/IncrementalDomRenderer.js @@ -478,15 +478,14 @@ class IncrementalDomRenderer extends ComponentRenderer { } } - var node = IncrementalDomAop.getOriginalFn('elementOpen').apply(null, args); this.attachDecoratedListeners_(node, args); this.updateElementIfNotReached_(node); - const config = IncrementalDomUtils.buildConfigFromCall(args); - if (isDefAndNotNull(config.ref)) { + const ref = node.getAttribute('ref'); + if (isDefAndNotNull(ref)) { const owner = IncrementalDomChildren.getCurrentOwner() || this; - owner.getComponent().refs[config.ref] = node; + owner.getComponent().refs[ref] = node; } return node; }