Tim Schaub
f798902ecd
Fix JSDoc generated links
2021-06-17 21:54:07 -06:00
Simon Seyock
8facb252f1
Replace google closure syntax = with brackets around name
2021-02-03 14:06:02 +01:00
Greg Gianforcaro
9c2b0677fa
stopPropagation/preventDefault on originalEvent
...
Move stopPropagation/preventDefault to directly target the
originalEvent rather than the mapBrowserEvent.
2020-12-09 11:42:53 -05:00
Greg Gianforcaro
92f93e8e94
Resolve some test failures
2020-12-09 01:17:19 -05:00
Andreas Hocevar
8ba051add3
Fix private scope issues in ol/interaction/*
2020-04-15 10:53:25 +02: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
6d608c361a
Simplify import path in ol/interaction/
2018-11-05 16:26:45 +01:00
Frederic Junod
ea616e7751
Don't import ourselves
2018-09-06 09:05:32 +02:00
Frederic Junod
a5f5c06af3
Cast 'originalEvent' in interactions
2018-09-05 16:38:42 +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
ahocevar
e79add2e77
Use extends, super and proper constructor jsdoc for ol/interaction
2018-07-17 21:09:06 +02: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
ahocevar
a4a4a0cdca
No olx and ol types for ol/interaction/KeyboardPan
2018-03-16 15:35:11 +01:00
ahocevar
12581b6a77
No olx and ol types for ol/interaction/DragBox
2018-03-15 16:49:50 +01:00
Tim Schaub
8907339963
Module type for ol/MapBrowserEvent
2018-03-12 08:32:09 -06:00
Tim Schaub
1404e9d61d
Remove remaining static members from Interaction
2018-02-25 12:46:57 -07:00
Tim Schaub
1be61fdb09
Only export handleEvent where it is used by other interactions
2018-02-19 14:00:59 -07:00
Tim Schaub
b97554f2f3
Named exports from ol/coordinate
2018-02-09 14:31:20 -07:00
Marc Jansen
6e764a20b3
Import events conditions explicitly
2018-02-05 20:36:42 +01:00
Frederic Junod
6da3e6e2c5
Rename _ol_events_KeyCode_ to KeyCode
2018-01-26 15:15:01 +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
Frederic Junod
c6104b7860
Rename _ol_interaction_KeyboardPan_ to KeyboardPan
2018-01-11 13:51:59 +01:00
Marc Jansen
4a1d50730b
Rename _ol_interaction_Interaction_ to Interaction
2017-12-15 09:39:10 -07:00
Marc Jansen
479c7a4668
Rename _ol_events_EventType_ to EventType
2017-12-15 16:19:03 +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