@glandais/vcyclist-elevation 1.1.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/kotlin-kotlin-stdlib.js +2 -2
- package/kotlinx-coroutines-core.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -148,6 +148,19 @@ On Node.js / Bun, tile decoding uses [`@jsquash/webp`](https://www.npmjs.com/pac
|
|
|
148
148
|
Node ≥ 18 (`globalThis.fetch` is built-in since Node 18 / Bun) ; Node 22+ recommended for
|
|
149
149
|
ESM `require()` support.
|
|
150
150
|
|
|
151
|
+
## Try the interactive demo
|
|
152
|
+
|
|
153
|
+
The [`demo/`](demo/) module is a Vue 3 + Vite frontend that exercises the
|
|
154
|
+
Kotlin/JS engine end-to-end in a browser (GPX upload, configurable cyclist /
|
|
155
|
+
bike / wind / power, chart + map, hover sync).
|
|
156
|
+
|
|
157
|
+
```bash
|
|
158
|
+
./gradlew :demo:assemble
|
|
159
|
+
python -m http.server -d demo/dist 8000 # or any static file server
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
See [`demo/README.md`](demo/README.md) for the dev workflow and architecture.
|
|
163
|
+
|
|
151
164
|
## Build & test
|
|
152
165
|
|
|
153
166
|
```bash
|
package/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -110,12 +110,12 @@ if (typeof Math.hypot === 'undefined') {
|
|
|
110
110
|
initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
|
|
111
111
|
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [Collection]);
|
|
112
112
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
113
|
-
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [
|
|
113
|
+
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtList, Collection]);
|
|
114
114
|
initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
|
|
115
115
|
initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [KtMap]);
|
|
116
116
|
initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [Collection, KtSet]);
|
|
117
117
|
initMetadataForCompanion(Companion_1);
|
|
118
|
-
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [
|
|
118
|
+
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtList, Collection]);
|
|
119
119
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMap]);
|
|
120
120
|
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [Collection, KtSet]);
|
|
121
121
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.k;
|
|
106
106
|
var stackTraceToString = kotlin_kotlin.$_$.m4;
|
|
107
107
|
var removeFirstOrNull = kotlin_kotlin.$_$.o1;
|
|
108
|
-
var Collection = kotlin_kotlin.$_$.c1;
|
|
109
108
|
var KtList = kotlin_kotlin.$_$.d1;
|
|
109
|
+
var Collection = kotlin_kotlin.$_$.c1;
|
|
110
110
|
//endregion
|
|
111
111
|
//region block: pre-declaration
|
|
112
112
|
initMetadataForInterface(ParentJob, 'ParentJob', VOID, VOID, [Element], [0]);
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
initMetadataForClass(SemaphoreSegment, 'SemaphoreSegment', VOID, Segment);
|
|
183
183
|
initMetadataForClass(SetTimeoutBasedDispatcher, 'SetTimeoutBasedDispatcher', VOID, CoroutineDispatcher, VOID, [1]);
|
|
184
184
|
initMetadataForObject(NodeDispatcher, 'NodeDispatcher', VOID, SetTimeoutBasedDispatcher, VOID, [1]);
|
|
185
|
-
initMetadataForClass(MessageQueue, 'MessageQueue', VOID, VOID, [
|
|
185
|
+
initMetadataForClass(MessageQueue, 'MessageQueue', VOID, VOID, [KtList, Collection]);
|
|
186
186
|
initMetadataForClass(ScheduledMessageQueue, 'ScheduledMessageQueue', VOID, MessageQueue);
|
|
187
187
|
initMetadataForClass(WindowMessageQueue, 'WindowMessageQueue', VOID, MessageQueue);
|
|
188
188
|
initMetadataForObject(Dispatchers, 'Dispatchers');
|