CloudMade/Leaflet — pull request #1169 by tomhughes (2012-11-22 12:25:24+00:00)
Title: Update the Layers control when layers are added or removed

Teaches the Layers control to notice, and update itself, when a layer it is managing is added to or removed from the map.

I haven't written a test I'm afraid because I couldn't work out how to run the existing tests...