Per Liedman
c5cbbf8174
Clean up and document event propagation properties ( #5880 )
...
* Add sourceTarget and propagatedFrom to events
Also documents events' target, sourceTarget, propagatedFrom
and layer properties.
Fixes #4510 .
* Use propagatedFrom, which is equivalent of the original code
* propagetedFrom -> propagatedFrom
2017-10-27 16:18:12 +02:00
Vladimir Agafonkin
cfdbd10431
enforce indentation in specs
2015-09-25 13:55:37 +03:00
Vladimir Agafonkin
6d1142a978
only propagate events if given true to fire, #2311
2013-12-18 23:23:22 -05:00
Vladimir Agafonkin
91c039b7aa
jshinting and major clean up of specs code, ref #2151
2013-11-07 23:54:33 +02:00
Tom MacWright
befc5eb992
Add support for layers lacking Events mixin. Fixes #1962
2013-09-17 17:36:05 -04:00
danzel
ec3b9e0ff2
Add a few more featuregroup tests and fix regression of removeLayer.
2013-07-12 10:13:25 +12:00
Tom MacWright
a2f7d7e834
Use mocha
2013-04-03 14:50:09 -07:00
Tom MacWright
a324759268
Use tobe instead of testing the result of an equality
2013-02-19 14:21:06 -05:00
danzel
513c6ca4cd
Change _propagateEvent to be careful that it doesn't overwrite e.layer if it is already set. Allows markers to be in multiple FeatureGroups and have the events come through correctly. See the test for details.
...
Fixes Leaflet.markercluster#128 ( https://github.com/Leaflet/Leaflet.markercluster/issues/128 )
2013-02-08 14:44:28 +13:00