Commit Graph

27 Commits

Author SHA1 Message Date
Tim Schaub 7b4a73f3b9 Automated class transform
npx lebab --replace src --transform class
2018-07-16 16:18:16 -06:00
ahocevar c0d04ea077 Do not accept null coordinates in Point constructor 2018-07-07 14:48:46 +02: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
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
raiyni fb548b1b45 ol/geom/flat/deflate exports 2018-02-12 23:18:53 -06:00
Frederic Junod 4c5ca75ca6 Better variables scoping 2018-01-17 10:54:18 +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
Ron Young a11208d126 rename _ol_math_ imports 2017-12-20 19:31:00 -06:00
Tim Schaub fca8b13ddd Rename _ol_geom_SimpleGeometry_ to SimpleGeometry 2017-12-14 09:03:51 -07:00
Tim Schaub 504368369c Rename _ol_geom_GeometryType_ to GeometryType 2017-12-14 09:00:57 -07:00
Tim Schaub 2be36c375d Rename _ol_geom_GeometryLayout_ to GeometryLayout 2017-12-14 09:00:20 -07:00
Tim Schaub eadec38ae2 Rename _ol_geom_Point_ to Point 2017-12-14 08:49:10 -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
Tom Payne f3d9b3332c Move code to be merged into src/attic 2012-07-26 00:21:37 +02:00
Marc Jansen 09d7f15fb2 Give points a getCentroid/centroid method. 2012-06-22 16:26:19 +02:00
Marc Jansen f143f32a6f Use ol.error instead of throwing directly. 2012-06-22 12:37:10 +02:00
Petr Pridal 5ed80bcf6c Adding @export tags to functions missing it - for advanced compilation. 2012-06-20 18:37:56 +02:00
Marc Jansen 958e291545 Quoting properties for external use.
See also 1ac40021bb.
2012-06-20 17:57:27 +02:00
Marc Jansen d933404df8 Make Points transformable. 2012-06-20 14:58:37 +02:00
Marc Jansen aec8f953e5 Remove the mixin approach and give the Point class a projection. 2012-06-20 11:18:07 +02:00
Marc Jansen 450f8f7b74 First state of a geom package. 2012-06-19 18:21:21 +02:00