CloudMade/Leaflet — pull request #760 by boorad (2012-06-26 04:29:35+00:00)
Title: The ability to put DOM 'class' attribute onto svg path elements

at least in Chrome, svg.g.path was sensitive to el.className accessor, so I changed them to getAttribute/setAttribute and things began working much better. Further, I added a way to add class names to path elements as you create them.