async calls WIP

This commit is contained in:
Dmitry Vasilev
2022-10-26 13:11:51 +08:00
parent a78ba0fa78
commit c3365fe1ee
8 changed files with 112 additions and 19 deletions

View File

@@ -113,7 +113,9 @@ import BigNumber from './path/to/bignumber.mjs';
![External import](docs/images/external_import.png)
Currently every external is loaded once and cached until Leporello is restarted (TODO what happens if we load modules in iframe and then recreate iframe)
Currently every external is loaded once and cached until Leporello is restarted
(TODO what happens if we load modules in iframe and then recreate iframe)
(TODO serve modules from service worker, change host every time)
## Hotkeys
@@ -123,6 +125,10 @@ See built-in Help
Editing local files is possible via [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API). Click "Allow access to local project folder" to grant access to local directory.
## Run and debug UI code in separate window
TODO
## Run Leporello locally
To run it locally, you need to clone repo to local folder and serve it via HTTPS protocol (HTTPS is required by [File System Access API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API)). See [How to use HTTPS for local development](https://web.dev/how-to-use-local-https/)