diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-04-27 16:59:40 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-04-27 16:59:40 -0700 |
commit | 23fb49962b01b71f258bcd7933760aa609c453fb (patch) | |
tree | e3ce70fa0deb5ce510311724b201645e1a12d672 | |
parent | c8dafee1cd4fc5b93ae267d4dccd78d656043bdd (diff) | |
download | dartboat-23fb49962b01b71f258bcd7933760aa609c453fb.tar.gz dartboat-23fb49962b01b71f258bcd7933760aa609c453fb.tar.xz |
web: use technical terminology
-rw-r--r-- | web/dartboat_wasm.c | 2 | ||||
-rw-r--r-- | web/static/dartboat.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web/dartboat_wasm.c b/web/dartboat_wasm.c index 26018fa..a4a075c 100644 --- a/web/dartboat_wasm.c +++ b/web/dartboat_wasm.c @@ -637,5 +637,5 @@ EMSCRIPTEN_KEEPALIVE void init() int main() { - EM_ASM(boatReady()); + EM_ASM(boatAfloat()); } diff --git a/web/static/dartboat.js b/web/static/dartboat.js index a97e8bb..51570b4 100644 --- a/web/static/dartboat.js +++ b/web/static/dartboat.js @@ -195,7 +195,7 @@ document.addEventListener('keydown', e => { promptHandle('undo'); }); -function boatReady() { +function boatAfloat() { if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', () => _init()); else |