Commit Graph

36 Commits

Author SHA1 Message Date
Tim Schaub
40486a0ecc Avoid shadowing EventTarget 2018-07-26 10:14:58 -06:00
Björn Harrtell
6d1e8cb38b Rework away static members from pointer related classes 2018-02-24 16:24:53 +01: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
Frederic Junod
e7bb9e8484 Rename _ol_pointer_TouchSource_ to TouchSource 2018-01-18 15:50:27 +01:00
Frederic Junod
107362b9fb Rename _ol_pointer_MouseSource_ to MouseSource 2018-01-18 15:50:27 +01:00
Frederic Junod
31e30d28b7 Named exports from ol/obj 2018-01-16 14:14:17 +01: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
Tim Schaub
8a74d6b8db Rename _ol_pointer_PointerEventHandler_ to PointerEventHandler 2018-01-11 12:06:59 -07:00
Marc Jansen
c620688758 Rename _ol_events_EventTarget_ to EventTarget 2017-12-15 16:19:03 +01:00
Marc Jansen
1cc682e488 Rename _ol_events_Event_ to Event 2017-12-15 16:17:56 +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
c203f6a841 Remove unused requires from tests 2016-08-08 09:58:11 -06:00
Tim Schaub
ed5dbd1293 Put test requires on top 2016-08-08 09:58:11 -06:00
Tim Schaub
1b8310a6fe Rename ol/objectutil.js to ol/obj.js 2016-08-07 10:49:12 -06:00
Frederic Junod
8b95602211 Remove unused goog.require 2016-03-07 09:33:15 +01:00
Tim Schaub
72ea0ecfd8 Remove remaining goog.object use from tests 2016-02-04 06:54:45 -07:00
Tim Schaub
3c0ef430db Use ol.object.assign() instead of goog.object.extend() 2016-02-04 06:54:43 -07:00
Andreas Hocevar
8d0ef13505 Add tests and documentation for goog.events.* 2016-02-03 11:19:38 +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
Tim Schaub
0555bb081a Test indentation 2016-01-11 18:56:09 -08:00
Marc Jansen
9386415633 Remove usage of goog.dom.TagName enum 2015-10-12 20:45:49 +02:00
Tim Schaub
e3951fa3c6 Inline simple goog.isDef() calls 2015-09-27 10:34:44 -06:00
Tim Schaub
947b049799 Rename ol.browserfeature to ol.has 2014-08-22 07:34:35 -06:00
Peter Robins
e35531e7c6 Rename BrowserFeature to browserfeature 2014-08-15 13:53:20 +00:00
Tim Schaub
7709d26955 Restore setTimeout after it is mocked 2014-05-13 22:44:36 -06:00
Tom Payne
8c6c262a6a Don't redeclare variable 2014-03-23 19:59:49 +01:00
Frederic Junod
9a51557dec Increase simulated clientY value
The the difference in position must be greater than
ol.pointer.MouseSource.DEDUP_DIST
2014-03-17 12:04:10 +01:00
Frederic Junod
391f81f838 Fix simulated touch event in tests 2014-03-17 10:35:13 +01:00
tsauerwein
51a557efbb Replace goog.structs.Map with plain object 2014-03-14 10:16:27 +01:00
Frederic Junod
f5b15f737f Move DEDUP_TIMEOUT and CLICK_COUNT_TIMEOUT constants out of the instance 2014-03-14 10:16:27 +01:00
tsauerwein
122dac857f PointerEventHandler test 2014-03-14 10:16:26 +01:00
tsauerwein
3d7ae92f0b tests for mouse- and touchsource 2014-03-14 10:16:26 +01:00
tsauerwein
2846996609 tests for pointereventhandler 2014-03-14 10:16:26 +01:00