Leaflet/Leaflet — pull request #2580 by kdamball (2014-03-25 09:51:55+00:00)
Title: Making sure we check for Objects only

(types === 'object') would return true on arrays. Fixed it to work for objects only