Commit Graph

38 Commits

Author SHA1 Message Date
Frederic Junod
6219e31e40 Add index to the Collection events 2018-11-17 08:43:35 +01:00
ahocevar
d1395d005c Fix comments for JSDoc 2018-10-23 17:58:50 +02:00
ahocevar
9163558511 Replace instanceof checks with other logic 2018-10-12 20:35:59 +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
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
Tim Schaub
2eb07aa081 Use Template<Foo> instead of Template.<Foo> 2018-07-25 18:37:08 -07:00
Tim Schaub
d12ef20b12 Use Array<Foo> instead of Array.<Foo> 2018-07-25 18:32:43 -07:00
Frederic Junod
c1ffb0a2a9 Move template type at the class level
This removes the TS1092 error from TypeScript: Type parameters cannot appear on a constructor declaration.
2018-07-19 15:53:52 +02:00
ahocevar
aa7b6350ec Use extends and super for Collection 2018-07-17 11:46:19 +02:00
Frederic Junod
f2d0b11d24 Move jsdoc constructor comments 2018-07-17 09:59:00 +02:00
Tim Schaub
f78d0d4cfa Manual class transform 2018-07-16 17:09:50 -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
9f3b103bbf Better variables scoping 2018-05-14 14:49:09 +02:00
Tim Schaub
167bc1ec78 Remove externs/oli.js 2018-05-08 08:38:34 -06:00
ahocevar
440d1ad3e1 Shorter module paths for default exports 2018-04-25 17:25:39 +02:00
ahocevar
c23a5086ae Fix enum types 2018-04-21 10:48:38 +02:00
ahocevar
417dd85f83 Fix some jsdoc path types 2018-04-21 10:17:53 +02:00
Frederic Junod
60ca330dce Rename constructor options typedef to 'Options' 2018-03-29 15:50:32 +02:00
Andreas Hocevar
95d6251dbb Get rid of olx.js and typedef.js typedefs for ol 2018-03-08 18:57:24 +01:00
Andreas Hocevar
f680c9cfa5 New typedef syntax and constructor options for Collection 2018-03-07 13:55:20 +01:00
Tim Schaub
9aae8aeb26 Export CollectionEvent from ol/Collection 2018-02-18 22:29:50 -07:00
Frederic Junod
4cad77089a Better code indentation 2018-02-16 14:34:00 +01:00
Frederic Junod
a8f4348add Fix parens grouping in typecasts 2018-02-15 08:44:35 +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
176021e188 Rename _ol_Collection_ to Collection 2018-01-11 12:06:58 -07:00
Tim Schaub
24dd0ca924 Rename _ol_Object_ to BaseObject 2018-01-10 09:35:43 -07:00
simonseyock
3e82c37bed removes opt_this from ol.Collection#forEach
this commit also removes all uses of the standard thisArg of
Array#forEach.
2017-12-19 13:14:20 +01:00
Frederic Junod
904f197c06 Rename _ol_layer_Group_.Property_ to Property 2017-12-18 13:40:30 +01:00
Frederic Junod
b56fa82446 Rename _ol_Collection_.Property_ to Property 2017-12-18 13:38:15 +01:00
Frederic Junod
64e7ae6eb8 Rename _ol_CollectionEventType_ to CollectionEventType 2017-12-18 10:50:52 +01:00
Frederic Junod
3f3e412d10 Rename _ol_AssertionError_ to AssertionError 2017-12-16 08:25:52 +01:00
Tim Schaub
98959b224d Redistribute a few types and docs 2017-12-15 23:10:53 -07:00
Marc Jansen
1cc682e488 Rename _ol_events_Event_ to Event 2017-12-15 16:17:56 +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