Leaflet/Leaflet — pull request #1599 by iirvine (2013-04-15 21:27:09+00:00)
Title: Events#clearAllListeners

This PR implements Events#clearAllListeners, a convenience method to deregister all of an object's event bindings. It can be called directly or by calling off() with no arguments. Fixes https://github.com/Leaflet/Leaflet/issues/1502.