11 lines
512 B
JavaScript
11 lines
512 B
JavaScript
/**
|
|
* This file is loaded via the <script> tag in the index.html file and will
|
|
* be executed in the renderer process for that window. No Node.js APIs are
|
|
* available in this process because `nodeIntegration` is turned off and
|
|
* `contextIsolation` is turned on. Use the contextBridge API in `preload.js`
|
|
* to expose Node.js functionality from the main process.
|
|
*/
|
|
|
|
// window.api.hyphenateWord('Hyphenation').then(console.log);
|
|
// window.api.hyphenateWord('Hyphenation', '.hyphenatePipe').then(console.log);
|