Simon Seyock
8facb252f1
Replace google closure syntax = with brackets around name
2021-02-03 14:06:02 +01:00
Simon Seyock
f590cb3473
Harmonize jsdoc
2021-02-02 12:14:56 +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
Andreas Hocevar
3f7f999db0
Avoid try/catch, DOM and workers
2020-03-23 12:46:24 +01:00
Andreas Hocevar
717b8ad0cf
Make createCanvasContext2D work in non-window context
2020-03-23 12:46:19 +01:00
Andreas Hocevar
9f4dbd3c35
Reuse existing canvases from vector render tiles
2020-01-08 10:53:43 +01:00
Frederic Junod
c0a860a31f
Remove unnecessary type cast
2019-02-13 11:42:22 +01:00
Tim Schaub
fc6882f146
Utility method for efficiently managing child nodes
2018-11-12 14:54:12 +01:00
Matthias Schiffer
321166849b
Consistently use lowercase HTML tag names
...
Unlike HTML, XHTML is case-sensitive.
2018-08-18 12:48:14 +02:00
Frederic Junod
8c4c70e9f0
Change 'Element' type to 'HTMLElement'
2018-06-29 09:31:59 +02:00
Frederic Junod
cdb3e1c529
Fix HTML Canvas typing issues
2018-05-09 16:39:59 +02: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
f6627c4d4e
Named exports from ol/dom
2017-12-14 12:27:09 +01:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Andreas Hocevar
1843698daf
Fix outerWidth and outerHeight calculation in IE
2017-03-22 15:07:06 +01:00
Tim Schaub
651c6959ab
Remove ol.global
2016-09-01 23:13:00 -06:00
Tim Schaub
935348fdca
Remove unnecessary ol.vec.Mat4 dependency
2016-09-01 07:32:05 -06:00
Tim Schaub
0ea5ded807
Remove unused ol.dom.setTransform()
2016-09-01 07:32:05 -06:00
Tim Schaub
0a60eced25
Remove unused ol.dom.canUseCssTransform()
2016-09-01 07:32:04 -06:00
Tim Schaub
54357bbc2b
Remove unused ol.dom.canUseCssTransform3D()
2016-09-01 07:31:34 -06:00
Tim Schaub
c11c4e4d17
Remove unused ol.dom.transformElement2D()
2016-09-01 07:30:29 -06:00
Tim Schaub
ff8a84a220
Deal with ol.global issues
2016-09-01 06:58:12 -06:00
Andreas Hocevar
5bb887d3ce
Remove use of goog.userAgent
2016-08-31 21:10:00 +02:00
Tim Schaub
8e381c1b2a
Move ol/dom/dom.js to ol/dom.js
2016-08-07 10:49:07 -06:00