Commit Graph

356 Commits

Author SHA1 Message Date
Tim Schaub
1c65ac4c85 Include : in characters that separate a short name 2022-08-15 16:58:18 -06:00
Tim Schaub
d23a77bebf Add space around pipe 2022-08-15 16:14:04 -06:00
Tim Schaub
b5b3cb7b18 Shorter names 2022-08-15 16:14:03 -06:00
Tim Schaub
73baef60e3 Use short name for exported functions 2022-08-15 16:14:03 -06:00
Tim Schaub
9c0e2f35d1 Shorten long names when creating links 2022-08-15 16:14:03 -06:00
Maximilian Krög
bc65f2d704 Update FontAwesome to v6.1.2 2022-08-13 23:10:31 +02:00
Maximilian Krög
5c4339f367 Remove more IE compatibility 2022-08-12 00:26:25 +02:00
Maximilian Krög
f971393ee0 Correct import statement for default exported methods 2022-08-11 22:40:14 +02:00
Tim Schaub
4d3cb782c8 Remove circular dependency 2022-08-11 11:51:01 -06:00
Tim Schaub
9dff55a8ac Build the website 2022-08-10 10:35:07 -06:00
MoonE
6d822bc790 Merge pull request #13958 from MoonE/const
Use const in docs and other places
2022-08-09 09:18:59 +02:00
Maximilian Krög
5fb69b1de1 Some more small code improvements 2022-08-09 00:28:41 +02:00
Maximilian Krög
5b8d810f80 Use const in more places 2022-08-09 00:25:30 +02:00
Maximilian Krög
be324fbcb0 Fix js error in api pages on load 2022-08-09 00:12:33 +02:00
Maximilian Krög
403b06b438 Use RegExp#test intead of String#match 2022-08-05 01:49:16 +02:00
Maximilian Krög
81c10fa609 Remove accessing legacy RegExp.$ instead of match return value 2022-08-05 01:49:16 +02:00
Maximilian Krög
bb3c5bf144 Use String#startsWith instead of String#indexOf 2022-08-05 01:49:16 +02:00
Maximilian Krög
0b945f2321 Use includes instead of indexOf 2022-08-05 01:49:01 +02:00
Tim Schaub
973c411082 Merge pull request #13917 from tschaub/doc-style
Style updates for examples and API docs
2022-08-01 05:44:13 -06:00
Tim Schaub
1bd9201fed Style updates for examples and API docs 2022-07-31 19:07:46 -06:00
Tim Schaub
8cb423d1d1 Avoid uncaught type error 2022-07-31 14:01:31 -06:00
Tim Schaub
644337184c Remove Google Analytics and cookie consent 2022-07-31 13:47:03 -06:00
Maximilian Krög
e56bda5848 Remove IE css fallback 2022-07-30 22:57:51 +02:00
Tim Schaub
ab48290bd7 Accept an object literal for static layer styling 2022-07-30 09:48:10 -06:00
Tim Schaub
c71d200cbf Publish untranspiled sources 2022-07-28 13:56:34 -06:00
Tim Schaub
bbbca0ab78 Update ESLint config and plugins 2022-05-23 15:01:07 -06:00
Andreas Hocevar
07761e96a3 Fix legacy build 2022-03-12 19:52:17 +01:00
Andreas Hocevar
53239f7b1e Document difference between Vector and VectorImage layers 2022-02-12 12:57:19 +01:00
Maximilian Krög
14c5e9a7e8 Load api navigation dynamically to reduce needed disk space 2022-01-22 22:29:33 +01:00
Andreas Hocevar
67c183958a Use applyBackground instead of custom code 2021-12-06 00:07:16 +01:00
Andreas Hocevar
b86f9df8bd Account for removed default export of marked 2021-11-08 16:35:23 +01:00
Andreas Hocevar
77ca0c2de5 Fix publicPath problem in legacy build 2021-10-08 11:11:00 +02:00
Andreas Hocevar
ccb9ff6f37 Configure builds so they actually work 2021-09-10 18:15:08 +02:00
Andreas Hocevar
fa8aa81840 Continue supporting IE11 in examples and legacy buld 2021-09-10 13:40:25 +02:00
Andreas Hocevar
5901751f43 Merge pull request #12624 from ahocevar/apidoc-undefined
Improve API docs for optional properties
2021-09-05 09:30:04 +02:00
Andreas Hocevar
814d70b1cc Add more tests 2021-08-18 17:54:48 +02:00
Andreas Hocevar
976f1b694a Fix legacy build to work with geotiff 2021-08-18 11:24:24 +02:00
Andreas Hocevar
000461993b Add undefined as type when optional and no default 2021-08-12 12:18:51 +02:00
Andreas Hocevar
e9791cf4d3 Generate correct type definitions with null 2021-08-04 14:32:36 +02:00
Maximilian Krög
687b131714 Fix example and legacy build with nodejs 16.6 2021-08-01 01:13:26 +02:00
Simon Seyock
9344de5740 remove unneeded code 2021-06-17 18:54:29 +02:00
Simon Seyock
aa99de4a6b parse comment for templates 2021-06-17 18:54:29 +02:00
Simon Seyock
a5d0b61947 Allow options to be generic in jsdoc 2021-06-17 18:54:29 +02:00
Maximilian Krög
40f8e69675 Fix legacy build
The build process failed because webpack does not allow failed imports
when it is run as a module.
This detects modules with default exports and only generates import
statements for default exports where they are available.
2021-05-02 23:49:50 +02:00
Tim Schaub
c301d2413b Modules all the way 2021-05-01 10:17:04 -06:00
Andreas Hocevar
024aef6b25 Fix @types/estree version and remove skipLibCheck: false from tsconfig 2021-04-18 19:28:12 +02:00
Andreas Hocevar
8119c85109 Prevent TypeScript Compiler from erroring out due to lib checks 2021-04-18 15:09:29 +02:00
Tim Schaub
71c18d4444 Merge pull request #12176 from bz2/mangle_private_members
Allow private class members to be mangled
2021-04-07 18:08:53 -06:00
Maximilian Krög
9d773c8f19 Build for ie11 again 2021-04-05 02:55:17 +02:00
Martin Packman
6ab44e9aea Allow private class members to be mangled
Openlayers classes use an underscore suffix convention to mark class
members as private. These are undocumented implementation details and
presumably unsafe for code outside the class to rely on.

Allowing javascript minimisation to change these names gives 5% bundle
size reduction to the library.
2021-04-03 17:57:11 +01:00