CloudMade/Leaflet — pull request #523 by thatjpk (2012-02-22 18:00:03+00:00)
Title: Fire 'edit' event while dragging editable polygon/line marker.

I noticed that the 'edit' event on editable polygons is only fired when a new vertex is created, or when an existing vertex is deleted, but not when an existing vertex is moved.

This one-liner adds a .fire('edit') in the drag handler for editing markers in Polyline.Edit.js. I'm not sure how you feel about the performance implications of this, since the event is fired every frame of the drag. For my purposes, I'd like at least the option to do this, but I'd forgive you if it wasn't the default.