Update src/dom/DomEvent.js

return this from removeListener when there is no handler so that chained calls still work in other places in the code such as removeHooks() inside the keyboard handler. If you call removeHooks() twice on the keyboard handler, you will get a javascript error in the second chained .off() call. 
Merge pull request #1468 from pagameba/patch-1

Update src/dom/DomEvent.js
Add layerGroup#getLayers and tests. Fixes #1460
Merge pull request #1469 from tmcw/getlayers

Add layerGroup#getLayers and tests. Fixes #1460
handle drag handlers properly to avoid errors if moving while removed.
call disable, not removeHooks
move test location
work with handlers in right place
Merge pull request #1471 from snkashis/drag_handling

handle drag listeners properly to avoid errors on marker removal
Add main to package.json

In order to require() and use Leaflet via browserify requires
that the package define a main entry point for the module.
Merge pull request #1476 from jwalgran/master

Add main to package.json
Fix zooming on browsers without zoom animation support. Refs #1486
Merge pull request #1487 from danzel/zoom-fixes

Fix zooming on browsers without zoom animation support. Refs #1486
Fix opacity in oldie for the millionth time. Refs #1486
Merge pull request #1490 from danzel/oldie-fixes

Fix opacity in oldie for the millionth time. Refs #1486
Disable 3D CSS transforms on PhantomJS

PhantomJS does not support 3D CSS transform even though it's a Webkit product. This patch detects PhantomJS in the user agent and disables 3D transforms.

Details on PhantomJS support are here: https://groups.google.com/forum/#!msg/phantomjs/h7-4-CWsy1g/KX1tlf5gT5IJ
Merge pull request #1501 from rassie/patch-1

Disable 3D CSS transforms on PhantomJS
fix jshint 1.1.0 errors, update deps and build
Fix copy/paste bug
Add failing test case for #1495 from @iirvine