Commit Graph

21 Commits

Author SHA1 Message Date
Tim Schaub
054af09032 Make code prettier
This updates ESLint and our shared eslint-config-openlayers to use Prettier.  Most formatting changes were automatically applied with this:

    npm run lint -- --fix

A few manual changes were required:

 * In `examples/offscreen-canvas.js`, the `//eslint-disable-line` comment needed to be moved to the appropriate line to disable the error about the `'worker-loader!./offscreen-canvas.worker.js'` import.
 * In `examples/webpack/exapmle-builder.js`, spaces could not be added after a couple `function`s for some reason.  While editing this, I reworked `ExampleBuilder` to be a class.
 * In `src/ol/format/WMSGetFeatureInfo.js`, the `// @ts-ignore` comment needed to be moved down one line so it applied to the `parsersNS` argument.
2020-04-06 12:54:09 -06:00
Tim Schaub
c860f15f91 Break the circular dependency by extending a pluggable map 2019-05-17 12:38:32 -06:00
Frederic Junod
a06ad4940c Re-export MousePosition from ol/control 2018-10-19 14:05:55 +02:00
Tim Schaub
669672dce8 Break the circular dependency: overview map, map, controls, overview map 2018-04-27 21:49:28 -06:00
ahocevar
440d1ad3e1 Shorter module paths for default exports 2018-04-25 17:25:39 +02:00
Tim Schaub
497cb1dc44 Re-export controls from ol/controls 2018-04-23 15:31:44 -06:00
Frederic Junod
1963e6088e Fix wrong module name annotation 2018-03-23 08:54:55 +01:00
Frederic Junod
b6483a49c1 Fix typedef name in jsdoc 2018-03-19 17:06:51 +01:00
Frederic Junod
8a4d60192f Mark optional property with square brackets 2018-03-19 08:29:50 +01:00
Andreas Hocevar
95d6251dbb Get rid of olx.js and typedef.js typedefs for ol 2018-03-08 18:57:24 +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
176021e188 Rename _ol_Collection_ to Collection 2018-01-11 12:06:58 -07:00
Frederic Junod
da67764437 Named export for ol/control 2017-12-17 18:53:50 +01:00
Tim Schaub
fb8fb42d81 Rename _ol_control_Zoom_ to Zoom 2017-12-14 13:07:36 -07:00
Tim Schaub
6e5171f559 Rename _ol_control_Rotate_ to Rotate 2017-12-14 13:02:20 -07:00
Tim Schaub
46e5755f40 Rename _ol_control_Attribution_ to Attribution 2017-12-14 12:57:42 -07:00
Tim Schaub
7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Marc Jansen
d0ef05977b Autofix indentation issues (eslint --fix) 2017-06-19 11:58:00 +02:00
Tim Schaub
f5aea97d3b All @api annotations imply stability 2017-02-06 09:22:05 -07:00
Frederic Junod
5763e1d145 Remove unused goog.require 2017-02-03 12:40:53 +01:00
Tim Schaub
ef04f466cd Name modules more like their provide 2016-12-18 11:24:01 -07:00