Commit Graph

16 Commits

Author SHA1 Message Date
Vladimir Agafonkin
382ef5c0b2 spec cleanup 2012-07-05 12:54:40 +03:00
Aaron King
95ed9cdda2 Allow L.Mixin.Events.addEventListener() to accept a map in which the string keys represent one or more space-separated event types and the values represent a handler function to be called for the event(s).
Allow L.Mixin.Events.removeEventListener() to accept one or more space-separated event types. Omitting the fn parameter will remove all event handlers for the supplied event type(s).

Also allow L.Mixin.Events.removeEventListener() to accept a map where the string keys represent one or more space-separated event types and the values represent handler functions previously attached for the event(s).

Add unit tests for the above changes.
2012-06-29 16:14:41 -07:00
mourner
b333f86e1d fix superclass regression 2012-03-09 11:28:14 +02:00
Mourner
e9b8353198 more Class specs to test @anru changes 2011-07-12 15:32:40 +03:00
Mourner
ea4fd78b7c fix static properties inheritance 2011-06-21 12:09:49 +03:00
mourner
7cef8d3851 Events fire shortcut 2010-09-10 16:54:20 +03:00
mourner
a9677fca55 removed Options 2010-09-07 18:20:43 +03:00
mourner
42bcb9b3b3 DomUtil, DomEvent, namespace config improvements, some specs 2010-09-07 14:27:44 +03:00
mourner
4854e0f9f7 minor renaming 2010-09-06 19:14:04 +03:00
mourner
b50d878e5d minor spec fix 2010-09-06 18:38:14 +03:00
mourner
5b21def444 options merging 2010-09-06 18:26:20 +03:00
mourner
14bd27b088 Options, specs 2010-09-06 16:58:06 +03:00
mourner
0eb9cd8cc6 L.Util.stamp & specs 2010-09-06 16:17:06 +03:00
mourner
9d4e335fe0 improved Class spec 2010-09-03 19:27:26 +03:00
mourner
db5809b473 Events fixes, Events spec 2010-09-03 19:16:29 +03:00
mourner
341f6e726f added Events, folder renaming 2010-09-03 17:38:41 +03:00