From 23fb49962b01b71f258bcd7933760aa609c453fb Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Wed, 27 Apr 2022 16:59:40 -0700 Subject: web: use technical terminology --- web/dartboat_wasm.c | 2 +- web/static/dartboat.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'web') 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 -- cgit v1.2.3-70-g09d2