visionmedia/jade — pull request #1540 by gabrieleds (2014-05-23 11:14:22+00:00)
Title: Update nodes/attrs.js

To change an attribute already defined I do:
-> removeAttribute('attrName') -> setAttribute('attrName', 'newVal').
The removeAttribute method is missing to remove the name also from attributeNames.
Cheers