William Wall
3ba789eae6
Fix type checks in ImageCanvas source
...
Fixed constructor docs specifying optional options without a
default value. Fixed malformed @link tag in typedef description.
canvasFunction type was previously declared with the 'this' type
as ImageCanvas, but the 'this' ref was not passed on the scope when
calling the function.
2018-09-25 13:01:02 -06: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
Tim Schaub
d12ef20b12
Use Array<Foo> instead of Array.<Foo>
2018-07-25 18:32:43 -07:00
ahocevar
bbe0a66d07
Set api annotation on classdesc, not constructor
2018-07-21 17:25:22 +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
ahocevar
28409486a5
Make classes in ol/ available as named exports from ol
2018-06-21 18:08:17 +02:00
Frederic Junod
af1f6836af
Shorter module paths for default exports
2018-05-09 11:24:43 +02:00
ahocevar
440d1ad3e1
Shorter module paths for default exports
2018-04-25 17:25:39 +02:00
Michael Kuenzli
223ef34898
Move ol.CanvasFunctionType to ol/source/ImageCanvas
2018-04-19 17:41:08 +02:00
Michael Kuenzli
71bb2ce019
Move ol.AttributionLike to ol/source/Source
2018-04-19 16:49:13 +02:00
Frederic Junod
8074848636
Module type for ol.Size
2018-04-19 15:43:37 +02:00
Frederic Junod
32713ff824
Module type for ol.Extent
2018-04-19 15:41:27 +02:00
Frederic Junod
e77986c86c
Module type for ol.source.Image
2018-04-19 15:39:26 +02:00
Frederic Junod
e283193ff4
Module type for ol.source.State
2018-04-19 15:39:25 +02:00
Florent gravin
1a6c62a48a
Replace dispatchChangeEvent by changed in ol/source
2018-04-04 10:52:50 +02:00
Florent gravin
0f1cef96fb
Replace ol.ProjectionLike by module:ol/proj~ProjectionLike in ol/source
2018-04-04 10:52:50 +02:00
Florent gravin
3d90a4587c
Move olx.source.ImageCanvasOptions to ol/source/ImageCanvasOptions
2018-04-04 10:52:50 +02:00
Frederic Junod
48c28540cb
Module type for ol.ImageCanvas
2018-03-19 16:02:46 +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
56cd27ac71
Rename _ol_source_ImageCanvasSource_ to ImageCanvasSource
2018-01-10 09:36:28 -07:00
Tim Schaub
ceca0803e4
Rename _ol_ImageCanvas_ to ImageCanvas
2018-01-10 09:36:28 -07:00
Tim Schaub
d75623084e
Rename _ol_source_Image_ to ImageSource
2018-01-10 09:36:28 -07:00
Tim Schaub
b7e9b8b461
Remove logos
2017-12-16 08:46:50 -07:00
Andreas Hocevar
c0c43bca84
Use named imports from extent
2017-12-13 14:05:42 +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