fix($compile): properly handle setting `srcset` to undefined
Previously, calling `Attributes#$set('srcset', value)` on an `<img>` element would throw if `value`
were undefined, as it assumed `value` is always a string.
This commit fixes the issue, by skipping the unnecessary string manipulation when `value` is not
defined.
Closes #14470
Closes #14493 P
Perry Hooker committed
85a53ea9cd08476496ef680d20f64ae6a7ae7499
Parent: 2d87ef8
Committed by Georgios Kalpakas <g.kalpakas@hotmail.com>
on 4/26/2016, 6:20:54 AM