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
d7c83e4651
Remove all inheritDoc tags from src/ol/format
2020-04-03 07:52:51 +02:00
Simon Seyock
bb0b94fedf
fixed typescript issues
2019-09-25 14:10:05 +02:00
Frederic Junod
711afac80f
Simplify import path in ol/format/
2018-11-05 16:26:45 +01:00
Kevin Schmidt
df7c89baeb
Fix TypeScript errors in ol/format/WMSGetFeatureInfo
2018-09-28 08:15:59 -06:00
Frederic Junod
a6861f5f49
Remove extra imports in jsdoc
...
The symbols are already imported (es6 import)
2018-09-06 16:40:29 +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
Frederic Junod
20a347b0c9
Use 'Element' type instead of 'Node'
2018-08-31 11:36:16 +02:00
Frederic Junod
1e332f52d6
Remove unimplemented functions
...
The TypeScript checker complain about it.
It was a workaround for closure-compiler, it's not needed anymore.
2018-07-27 13:10:45 +02:00
Tim Schaub
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
ahocevar
ba431421a1
Use extends and super for format/WMSGetFeatureInfo
2018-07-17 18:01:07 +02:00
Frederic Junod
540b1793e7
Move jsdoc constructor comments
2018-07-17 10:20:26 +02:00
Tim Schaub
d0ab8dce38
Lint removal
2018-07-16 17:57:57 -06:00
Tim Schaub
7b4a73f3b9
Automated class transform
...
npx lebab --replace src --transform class
2018-07-16 16:18:16 -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
4dc1f719c0
Module type for ol.format.GML2
2018-04-25 08:21:11 +02:00
Frederic Junod
070f08e778
Mark optional property with square brackets
2018-04-04 17:06:21 +02:00
Frederic Junod
06bd5b4423
Module type for ol.format.XMLFeature
2018-03-23 08:44:21 +01:00
Tim Schaub
cf80733e41
Module type for ol/Feature
2018-03-12 08:32:09 -06:00
Tim Schaub
03a7a6cb08
Move Options to ol/format/WMSGetFeatureInfo
2018-03-11 22:31:46 -06:00
Tim Schaub
4eb6603af7
Move ReadOptions to ol/format/Feature
2018-03-11 15:51:16 -06:00
Tim Schaub
cc5b80036d
Remove private static members from WMSGetFeatureInfo format
2018-02-11 11:19:25 -07:00
raiyni
4449da3e63
named exports from ol/xml
2018-02-07 14:42:01 -06: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
Marc Jansen
02002082bf
Named exports from ol/array module
2017-12-19 17:22:58 +01:00
Tim Schaub
06772567d5
Rename _ol_format_XMLFeature_ to XMLFeature
2017-12-17 02:24:18 -07:00
Tim Schaub
53cc0ad3ff
Rename _ol_format_WMSCapabilities_ to WMSCapabilities
2017-12-17 02:20:45 -07:00
Tim Schaub
f8610190bb
Rename _ol_format_GML2_ to GML2
2017-12-17 01:48:47 -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