From b8c52a1c1ed313d193fcabd7e1bb7eee7ed14369 Mon Sep 17 00:00:00 2001 From: Anny Yang Date: Fri, 23 Feb 2024 12:20:19 -0800 Subject: [PATCH] fix: improve preload comment --- static/electron-quick-start/preload.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/static/electron-quick-start/preload.js b/static/electron-quick-start/preload.js index b188cb14f3..f26017e876 100644 --- a/static/electron-quick-start/preload.js +++ b/static/electron-quick-start/preload.js @@ -1,7 +1,8 @@ /** - * The preload script runs before. It has access to web APIs - * as well as Electron's renderer process modules and some - * polyfilled Node.js functions. + * The preload script runs before `index.html` is loaded + * in the renderer. It has access to web APIs as well as + * Electron's renderer process modules and some polyfilled + * Node.js functions. * * https://www.electronjs.org/docs/latest/tutorial/sandbox */