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
d15ec1c12c
Remove all inheritDoc tags from disposeInternal functions
2020-04-03 08:10:41 +02:00
Andreas Hocevar
a072e3acea
Ignore user provided tile cache size when too small
2020-02-27 13:41:21 +01:00
ahocevar
4166c80c6e
Test cache size
2019-02-21 01:35:40 +01:00
Tim Schaub
e9a30c5cb7
Use standard tile coords
2018-11-21 11:14:17 -07:00
Tim Schaub
affbf59b77
Use Object<Foo, Bar> instead of Object.<Foo, Bar>
2018-07-25 18:33:49 -07:00
ahocevar
0a126b620c
Use class keyword in tests
2018-07-18 16:30:09 +02:00
Tim Schaub
9ce36da349
Remove @extends and @constructor annotations
2018-07-18 00:36:29 -06:00
Marc Jansen
685b46f1e3
Named exports from tilecoord
2018-02-15 18:04:51 +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
aa89746c47
Rename _ol_proj_Projection_ to Projection
2018-01-11 13:33:41 -07:00
Tim Schaub
1552f27a43
Rename _ol_Tile_ to Tile
2018-01-11 12:06:58 -07:00
Tim Schaub
d2c0ea103e
Rename _ol_source_Tile_ to TileSource
2018-01-10 09:36:28 -07:00
Frederic Junod
297c9e45ab
Rename _ol_tilegrid_TileGrid_ to TileGrid
2017-12-22 10:56:20 +01:00
Frederic Junod
aa45598ae1
Rename _ol_source_Source_ to Source
2017-12-19 08:51:50 +01:00
Frederic Junod
a7b743da07
Rename _ol_TileRange_ to TileRange
2017-12-18 10:33:41 +01:00
Tim Schaub
6f72ffe498
Named exports from ol/proj
2017-12-14 13:08:40 +01:00
Tim Schaub
87295a74dd
Use named exports from ol/index.js
2017-12-12 12:34:23 -07:00
Tim Schaub
8a9bbd6264
Separate example scripts for dev and prod
2017-12-12 06:56:19 -07:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Tim Schaub
bedec9d596
Consistent use of ol.tilecoord.getKeyZXY()
2017-10-08 09:08:20 -06:00
Tim Schaub
521f06e91c
Remove provide from tile.test.js
2017-08-18 15:56:20 -04:00
Tim Schaub
a3e3e99baa
Get rid of useless test exports
2017-08-17 15:16:58 -04:00
Tim Schaub
46bcce464f
Add missing requires to tests
2017-08-16 13:43:28 -04:00
Andreas Hocevar
07d4492ece
Respect cacheSize for reprojected caches
2017-03-22 15:50:58 +01:00
Tim Schaub
895a506025
Remove state enum from tile constructor
2016-12-27 10:17:26 -07:00
Tim Schaub
9e4d80b459
Move State to ol.Tile
2016-08-12 10:53:49 -06:00
Tim Schaub
5643d3ec77
Missing requires in tests
2016-08-12 10:53:49 -06:00
Tim Schaub
ed5dbd1293
Put test requires on top
2016-08-08 09:58:11 -06:00
Tim Schaub
e07596846d
Move source files so they are named like their provides
2016-08-07 10:49:11 -06:00