to catch 'load' event of Leaflet

'load' event trigger after map.setView() <http://leafletjs.com/reference.html#map-load> that has place in setupCenter() function. 

As well line before all setup*() functions:
'''javascript
map.setView([defaults.center.lat, defaults.center.lng], defaults.center.zoom);
'''
has duplicated in setupCenter() function, so no any reason for it.

So without that fix there is now any possibilities to catch 'load' event because it trigger before we have set all your event handlers.
Merge pull request #129 from Hyzhak/patch-1

to catch 'load' event of Leaflet
Solved some jshint problems, and set default center zoom to 1
Fixed layer is null bug
Examples modified to load the minified version of the library
Fixed layer is null bug (added unit tests and detected another bug)
Merge pull request #133 from JaumeFigueras/master

Fixed layer is null bug