diff options
author | 2017-11-12 22:28:01 +0100 | |
---|---|---|
committer | 2017-11-12 22:28:01 +0100 | |
commit | 430e9a3424a391bc6ebff286408983b993652ecf (patch) | |
tree | 629dd1ee9f09259225342a5775269fcc51130d20 /src/webview | |
parent | Merge branch 'develop' into feature/spellcheck-settings (diff) | |
download | ferdium-app-430e9a3424a391bc6ebff286408983b993652ecf.tar.gz ferdium-app-430e9a3424a391bc6ebff286408983b993652ecf.tar.zst ferdium-app-430e9a3424a391bc6ebff286408983b993652ecf.zip |
[wip] share user settings with service
Diffstat (limited to 'src/webview')
-rw-r--r-- | src/webview/plugin.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webview/plugin.js b/src/webview/plugin.js index 569fa9493..fec353f34 100644 --- a/src/webview/plugin.js +++ b/src/webview/plugin.js | |||
@@ -19,6 +19,10 @@ ipcRenderer.on('initializeRecipe', (e, data) => { | |||
19 | } | 19 | } |
20 | }); | 20 | }); |
21 | 21 | ||
22 | ipcRenderer.on('settings-update', (e, data) => { | ||
23 | console.log(data); | ||
24 | }); | ||
25 | |||
22 | document.addEventListener('DOMContentLoaded', () => { | 26 | document.addEventListener('DOMContentLoaded', () => { |
23 | ipcRenderer.sendToHost('hello'); | 27 | ipcRenderer.sendToHost('hello'); |
24 | }, false); | 28 | }, false); |