Commit Graph

24 Commits

Author SHA1 Message Date
Matthias Schiffer 321166849b Consistently use lowercase HTML tag names
Unlike HTML, XHTML is case-sensitive.
2018-08-18 12:48:14 +02:00
ahocevar 5080a6d401 Don't go back to not moving when dragging 2018-06-05 21:09:38 +02:00
Tim Schaub 9cfee0f40b Named exports from ol/has 2018-02-05 10:42:47 -07:00
Tim Schaub 7e7631c42a Named exports from ol/events 2018-01-24 10:09:57 -07:00
Tim Schaub ad62739a6e Use blocked scoped variables
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub 8cba211ecd Rename _ol_pointer_PointerEvent_ to PointerEvent 2018-01-11 13:44:45 -07:00
Ron Young 9fa59d0735 rename map in tests 2017-12-21 23:11:42 -07:00
Marc Jansen 5199371b9f Rename _ol_MapBrowserEventHandler_ to MapBrowserEventHandler 2017-12-15 16:19:03 +01:00
Tim Schaub 7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Tim Schaub a3e3e99baa Get rid of useless test exports 2017-08-17 15:16:58 -04:00
Tim Schaub 46bcce464f Add missing requires to tests 2017-08-16 13:43:28 -04:00
itjope bb220b5c3b Add tests for isMoving 2017-05-20 09:08:03 +02:00
Tim Schaub ed5dbd1293 Put test requires on top 2016-08-08 09:58:11 -06:00
Frederic Junod 00fbb77c19 Remove use of goog.dom.createElement 2016-02-18 09:55:36 +01:00
Andreas Hocevar 3f2d79b7fe Replace goog.events.Event/EventTarget system with our own
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00
Marc Jansen 9386415633 Remove usage of goog.dom.TagName enum 2015-10-12 20:45:49 +02:00
tsauerwein 9a841583db Remove getter for down_ 2015-01-30 09:38:47 +01:00
ahocevar 30fc1a29fb Add unit tests for click event 2014-03-27 18:33:17 +01:00
ahocevar 7bfa15c0fd Add click event as responsive alternative to singleclick
The singleclick event makes the application feel slow because
of the 250 ms delay that is used to rule out a dblclick.
2014-03-27 18:33:17 +01:00
tsauerwein 68b7ee58a5 fixes tests for mapbrowserevent 2014-03-14 10:16:26 +01:00
Tom Payne 318fc68159 Convert ol.MapBrowserEvent#get* methods into properties 2014-01-29 14:51:27 +01:00
Tim Schaub 22fb418236 Provide a method to get the most recent down type event
This will allow interactions to conditionally handle later events based on the down event.
2013-11-07 11:21:01 -07:00
Éric Lemoine 8402eee0c3 Map "click" event renamed to "singleclick"
As discussed with @tschaub in #1195.
2013-10-31 09:37:16 +01:00
Éric Lemoine 6ab88aad72 Add tests for emulated clicks 2013-10-30 13:16:09 +01:00