SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 153 JavaScript

fix($compile): don't add merged attributes twice to $attrs

In replace directives, attribute values from the template are added twice
to the replaced element when both the replaced element and the template
element have the attribute. This does not affect the DOM, as it normalizes
duplicate values. The values are however duplicated in the $attrs object
that is available to directive link functions.

Fixes #8159
Closes #14737
M
Martin Staffa committed
ebbaa4ac5e3559df9267203438a0bb18c2d3b7d8
Parent: 6171372
Committed by Peter Bacon Darwin <pete@bacondarwin.com> on 6/9/2016, 3:27:13 PM