Leaflet/Leaflet — pull request #2741 by fab1an (2014-06-17 13:46:43+00:00)
Title: Utility function for fail-fast behaviour.

Much performance is lost by methods which allow many different types of inputs.
Checking the input and throwing an error immediately leads to better code-quality.