Commit Graph

104 Commits

Author SHA1 Message Date
ahocevar 12581b6a77 No olx and ol types for ol/interaction/DragBox 2018-03-15 16:49:50 +01:00
Andreas Hocevar 395b26832a Get rid of olx.js and typedef.js typedefs for ol/events 2018-03-08 18:57:24 +01:00
Andreas Hocevar 95d6251dbb Get rid of olx.js and typedef.js typedefs for ol 2018-03-08 18:57:24 +01:00
Frederic Junod b50a47114e Move the nullFunction to ol/functions
And rename it to `UNDEFINED`.
2018-03-01 14:41:18 +01:00
Andreas Hocevar 2d67c15ea9 Add focus condition, e.g. for wheel zoom 2018-02-27 21:39:02 +01:00
Tim Schaub a480b0065b Named exports from ol/events/Event 2018-02-18 23:08:04 -07:00
Marc Jansen 1c8e60487c Named exports from events/condition 2018-02-05 20:36:42 +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
Andreas Hocevar 6bb88026ea Avoid context menu for long tap when editing on mobile 2018-01-14 23:26:28 +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
Frederic Junod 085fddcb36 Rename _ol_Disposable_ to Disposable 2017-12-22 09:02:23 +01:00
Frederic Junod 9349ba5403 Named export for ol/asserts 2017-12-18 10:33:41 +01:00
Marc Jansen c620688758 Rename _ol_events_EventTarget_ to EventTarget 2017-12-15 16:19:03 +01:00
Marc Jansen 039bde29cc Rename _ol_MapBrowserEventType_ to MapBrowserEventType 2017-12-15 16:18:32 +01:00
Marc Jansen 1cc682e488 Rename _ol_events_Event_ to Event 2017-12-15 16:17:56 +01:00
Frédéric Junod 9622c64bc6 Merge pull request #7604 from fredj/ne_functions
Named exports from ol/functions
2017-12-15 16:12:42 +01:00
Frederic Junod 0bc28323c8 Simplify default export
This removes unnecessary variable declarations where the default object is an object.
2017-12-15 15:21:25 +01:00
Frederic Junod 2498bba90a Named exports from ol/functions 2017-12-15 13:44:32 +01:00
Marc Jansen f093f594d5 Simplify default export of ol/events/KeyCode 2017-12-15 09:56:50 +01:00
Frederic Junod 2ca60292bb Simplify default export 2017-12-14 12:23:06 -07:00
Tim Schaub 87295a74dd Use named exports from ol/index.js 2017-12-12 12:34:23 -07:00
Tim Schaub 7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Tim Schaub 1cdb6a66f0 Imports cased like the filename 2017-12-12 06:53:17 -07:00
Andreas Hocevar 7f865b8520 Check if fonts are available and redraw when label cache was cleared 2017-11-03 13:04:06 +01:00
Marc Jansen 7d6929c710 Manual adjustment of indentation 2017-06-20 10:41:03 +02:00
Marc Jansen d0ef05977b Autofix indentation issues (eslint --fix) 2017-06-19 11:58:00 +02:00
Andreas Hocevar 93ef22759a Fix event type case of MSPointerDown 2017-03-20 19:36:43 +01:00
Tim Schaub f5aea97d3b All @api annotations imply stability 2017-02-06 09:22:05 -07:00
Frederic Junod d59224f5eb Add missing override and inheritDoc jsdoc tags 2017-01-30 17:16:01 +01:00
Tim Schaub 137cdc04c8 Remove ol.DEBUG 2017-01-01 20:37:52 -07:00
Tim Schaub c6c105b62f Shared module for map browser event type enum 2016-12-27 13:48:50 -07:00
Tim Schaub ef04f466cd Name modules more like their provide 2016-12-18 11:24:01 -07:00
Tim Schaub 37c445275f Require ol.MapBrowserEvent 2016-12-03 10:37:49 -08:00
Frederic Junod d0801036d2 Add missing goog.require('ol.has') 2016-09-01 06:58:09 -06:00
Andreas Hocevar d1e4b33760 Rename goog.DEBUG to ol.DEBUG 2016-08-31 21:10:01 +02:00
Andreas Hocevar 5bb887d3ce Remove use of goog.userAgent 2016-08-31 21:10:00 +02:00
Andreas Hocevar e62cc6ac47 Fix assert namespace 2016-08-23 09:58:31 +02:00
Andreas Hocevar c81709bed3 Merge pull request #5616 from ahocevar/fix-mouseonly-type
Fix event type and documentation of ol.events.condition.mouseOnly
2016-08-23 09:46:16 +02:00
Frederic Junod d4ad9ad616 Add missing goog.require('ol') 2016-08-17 09:57:21 +02:00
Tim Schaub 59b0f9a658 Events provides 2016-08-12 10:53:48 -06:00
Andreas Hocevar 4b68df73a8 Do not expose ol.MapBrowserPointerEvent to the docs 2016-08-09 16:13:57 +02:00
Andreas Hocevar a9c54e0c02 Fix event type and documentation of ol.events.condition.mouseOnly 2016-08-09 15:55:14 +02:00
Andreas Hocevar e0015b3d4e Use goog.DEBUG instead of ol.DEBUG for now 2016-08-04 11:29:54 +02:00
Andreas Hocevar 6f5ed17fc5 Remove goog.asserts.*
This pull requests replaces type check hint assertions with type casts,
library sanity check assertions with conditional console.assert statements
in debug mode, and runtime sanity checks with assertions that throw an
ol.AssertionError with an error code for lookup outside the library.
2016-08-04 11:29:54 +02:00
Andreas Hocevar ccf15b8be3 Remove useless target argument from ol.Event and subclass constructors 2016-07-05 09:40:00 +02:00
Andreas Hocevar 6718fc982e Merge pull request #5450 from probins/typedefs
Remove sub-namespaces from all remaining typedefs
2016-06-14 17:32:10 +02:00
Andreas Hocevar 1d20215bfa Make all typedefs work without provide/require 2016-06-14 15:01:20 +00:00
Andreas Hocevar 06249be6bd Remove last reference to ol.MapBrowserPointerEvent from the API
This is a bit of a hack, but in fact it improves the situation for the end
user because it asserts the correct event type instead of failing silently.
2016-06-09 18:22:11 +02:00
Peter Robins 2c29512c80 Remove sub-namespaces from all remaining typedefs 2016-06-09 10:01:52 +00:00