Simon Seyock
8facb252f1
Replace google closure syntax = with brackets around name
2021-02-03 14:06:02 +01:00
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
Frederic Junod
08dd5f58a2
Set the default values after the property name
2019-04-15 16:44:06 +02:00
Frederic Junod
0ec769c234
Remove getChecksum functions
2018-12-14 13:00:35 +01:00
Frederic Junod
1bb1e3c542
Remove Atlas and AtlasManager
2018-12-14 13:00:35 +01:00
Frederic Junod
1a0f398f1f
Fix wrong filename in type annotation
2018-10-17 15:47:15 +02:00
Frederic Junod
041836c645
Change getUid return type from number to string
2018-10-17 10:22:53 +02:00
ahocevar
9163558511
Replace instanceof checks with other logic
2018-10-12 20:35:59 +02:00
Kevin Schmidt
124fccf127
Fix style TypeScript errors
2018-09-17 12:38:00 -06:00
Frederic Junod
ea616e7751
Don't import ourselves
2018-09-06 09:05:32 +02:00
Tim Schaub
ccfacc5ee6
Transformed types
...
Using the [ts.js codemod](https://gist.github.com/tschaub/1ea498c9d1e5268cf36d212b3949be4e ):
jscodeshift --transform ts.js src
2018-09-05 08:05:29 -06:00
ahocevar
bbe0a66d07
Set api annotation on classdesc, not constructor
2018-07-21 17:25:22 +02:00
Tim Schaub
9ce36da349
Remove @extends and @constructor annotations
2018-07-18 00:36:29 -06:00
Tim Schaub
f78d0d4cfa
Manual class transform
2018-07-16 17:09:50 -06:00
ahocevar
28409486a5
Make classes in ol/ available as named exports from ol
2018-06-21 18:08:17 +02:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
Frederic Junod
ac1a9e97ed
Move olx.style.FillOptions to src/ol/style/Fill
2018-03-27 15:44:53 +02:00
Frederic Junod
7cbc22fece
Module type for ol.style.*
2018-03-27 15:09:52 +02:00
Frederic Junod
3edbbf0b46
Module type for ol.Color
2018-03-19 09:25:45 +01:00
Frederic Junod
f5aa7d7867
Module type for ol.ColorLike
2018-03-19 09:24:32 +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
dc6ae2293d
Rename _ol_style_Fill_ to Fill
2018-01-11 13:23:27 -07:00
Marc Jansen
295c2973b5
Named exports from ol/color module
2017-12-19 13:56:54 +01: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