From 3dcb5ad07d4d11cf5d7849e031ec731db5ac2d93 Mon Sep 17 00:00:00 2001 From: pypy Date: Thu, 21 Jan 2021 12:35:03 +0900 Subject: [PATCH] forward declaration --- html/src/app.js | 2 ++ html/src/vr.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/html/src/app.js b/html/src/app.js index 50f15841..32bb9749 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -20,6 +20,8 @@ import gameLogService from './service/gamelog.js'; speechSynthesis.getVoices(); (async function () { + var $app = null; + await CefSharp.BindObjectAsync( 'AppApi', 'WebApi', diff --git a/html/src/vr.js b/html/src/vr.js index 3dac0705..62728c6e 100644 --- a/html/src/vr.js +++ b/html/src/vr.js @@ -16,6 +16,8 @@ import webApiService from './service/webapi.js'; speechSynthesis.getVoices(); (async function () { + var $app = null; + await CefSharp.BindObjectAsync( 'AppApi', 'WebApi',