Skip to content

Commit

Permalink
Stops calling buildConfigFromCall within handleRegularCall
Browse files Browse the repository at this point in the history
  • Loading branch information
mairatma committed Oct 24, 2016
1 parent 59067e7 commit 480c948
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/metal-incremental-dom/src/IncrementalDomRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 480c948

Please sign in to comment.