Frédéric Junod
978b039ddc
Merge pull request #8654 from fredj/import
...
Remove extra imports in jsdoc
2018-09-19 15:12:10 +02:00
Frederic Junod
9c52e0d6d9
Remove extra imports in jsdoc
...
The symbols are already imported (es6 import)
2018-09-19 14:52:58 +02:00
Frederic Junod
7cb85fa975
Don't define functions in the prototype
...
If `VOID` is used, TypeScript is not able to figure out what the function parameters are.
Before:
```
$ npx tsc | wc -l
1188
```
After:
```
$ npx tsc | wc -l
1169
```
2018-09-19 08:40:14 +02: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
b9aceb23ac
Let renderer decide whether to snapToPixel or not, also for text
2018-08-09 18:16:58 +02:00
Tim Schaub
6cfa2b22a7
Explicit void
2018-07-26 10:46:39 -06:00
Tim Schaub
affbf59b77
Use Object<Foo, Bar> instead of Object.<Foo, Bar>
2018-07-25 18:33:49 -07:00
Tim Schaub
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
Tim Schaub
6f22f1b7ac
Param name on same line as type
2018-07-23 16:28:22 -07:00
Tim Schaub
b8c9125602
Remove lint
2018-07-18 10:35:54 -06:00
Frederic Junod
65b306891b
Remove 'struct' jsdoc tags, code indentation
2018-07-18 09:07:27 +02:00
Tim Schaub
9ce36da349
Remove @extends and @constructor annotations
2018-07-18 00:36:29 -06:00
Tim Schaub
b7b15eb7f0
Remove unused inherits
2018-07-18 00:13:43 -06:00
Tim Schaub
1a5cf52b61
Remove remaining use of inherits in src
2018-07-17 23:43:10 -06: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
Frederic Junod
0c300d651f
Change 'Image' type to 'HTMLImageElement'
2018-06-29 09:31:32 +02:00
ahocevar
28409486a5
Make classes in ol/ available as named exports from ol
2018-06-21 18:08:17 +02:00
ahocevar
976bb6b23c
Indicate required fill alignment with boolean
2018-05-22 16:30:42 +02:00
ahocevar
7cfa65b8c3
Align patterns and gradients to a grid
2018-05-22 16:05:32 +02:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
Frederic Junod
7f7c4df786
Module type for ol.render.canvas.TextReplay
2018-04-20 15:09:30 +02:00
Frederic Junod
446fb1939e
Module type for ol.render.canvas.Instruction
2018-04-20 15:07:50 +02:00
Frederic Junod
d0fbbe7d23
Module type for ol.render.canvas.Replay
2018-04-20 15:03:44 +02:00
Frederic Junod
7701c5fd3a
Module type for ol.render.Feature
2018-04-20 14:53:56 +02:00
Frederic Junod
3c0c4cd155
Module type for ol.render.VectorContext
2018-04-20 14:41:11 +02:00
Michael Kuenzli
3b983564b3
Move ol.DeclutterGroup to ol/render/canvas
2018-04-19 17:41:08 +02:00
Michael Kuenzli
113785f048
Move ol.CanvasFillStrokeState to ol/render/canvas
2018-04-19 17:41:08 +02:00
Michael Kuenzli
5e810ccc6a
Move olx.render.State to ol/render
2018-04-19 17:41:00 +02:00
Frederic Junod
d8fd51a537
Remove unused private variable
2018-03-28 08:56:36 +02:00
Frederic Junod
e9ce23a461
Move the temporary arrays to the module level
...
No need to create a new variable for each instance.
2018-03-28 08:55:27 +02:00
Frederic Junod
48740f0026
Move RBush typedefs out of src/ol/typedefs.js
2018-03-22 17:13:48 +01:00
Frederic Junod
f5aa7d7867
Module type for ol.ColorLike
2018-03-19 09:24:32 +01:00
Tim Schaub
cf80733e41
Module type for ol/Feature
2018-03-12 08:32:09 -06:00
Tim Schaub
ef70d71636
Module types for ol/geom
2018-03-12 08:32:09 -06:00
Andreas Hocevar
95d6251dbb
Get rid of olx.js and typedef.js typedefs for ol
2018-03-08 18:57:24 +01:00
Frederic Junod
3435ac575e
Better type definition
...
Fixes the `Invalid type(s) for operator IN.` warnings from the closure compiler.
2018-03-07 16:45:46 +01:00
Frederic Junod
500a017faf
Better code indentation
2018-03-05 15:36:40 +01:00
Frederic Junod
b50a47114e
Move the nullFunction to ol/functions
...
And rename it to `UNDEFINED`.
2018-03-01 14:41:18 +01:00
raiyni
b5b3e256f8
ol/render/replay export
2018-02-15 22:54:02 -06:00
Marc Jansen
183b8e29c4
Named exports from ol/transform
2018-02-15 17:55:54 +01:00
Tim Schaub
0948d4002f
Named exports from ol/render/canvas
2018-02-14 09:43:20 -07:00
raiyni
b2d920bbf1
ol/geom/flat/transform export
2018-02-13 09:22:00 -06:00
raiyni
2550ab1691
ol/geom/flat/textpath export
2018-02-12 23:34:21 -06:00
raiyni
05a648d4f3
ol/geom/flat/length export
2018-02-12 23:27:38 -06:00
raiyni
fd78aa9798
ol/geom/flate/inflate exports
2018-02-12 23:06:02 -06:00
Tim Schaub
9cfee0f40b
Named exports from ol/has
2018-02-05 10:42:47 -07:00
Frederic Junod
4504c422ae
Rename _ol_render_canvas_Instruction_ to CanvasInstruction
2018-02-05 12:40:44 +01:00
Frederic Junod
31e30d28b7
Named exports from ol/obj
2018-01-16 14:14:17 +01:00