* Returns true if elements a i b have the same color. * @param {Node} a * @param {Node} b * @returns {boolean}
(a, b)
| 54 | * @returns {boolean} |
| 55 | */ |
| 56 | function haveSameColor(a, b) { |
| 57 | return dom(a).color() === dom(b).color(); |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * Fills undefined values in obj with default properties with the same name from source object. |
no test coverage detected